LeetCode: Word SearchGiven a 2D board and a word, find if the word exists in the grid.The word can be constructed from letters of sequentially adjacen...
分类:
其他好文 时间:
2014-09-04 22:03:00
阅读次数:
191
subclipse是eclipse的一个SVN插件。但是我在使用的时候不断的报出下面的错误:the applet is attempting to access the "exists" state attributes.......大概的错误就是这样吧。上网查了一下,在java的启动参数里加入下面...
分类:
系统相关 时间:
2014-09-04 16:36:49
阅读次数:
189
文章出处:http://blog.csdn.net/leshami/article/details/9232229 最近在卸载VirtualBox出现了无法卸载的错误。提示为Failed to install the extension. The installer failed with exit...
分类:
其他好文 时间:
2014-09-04 14:53:09
阅读次数:
211
SSAS里的动态命名集(Named Set)在项目中会经常用到,常用的函数如TopCount, Filter, Exists等,但有些能设置为静态命名集,有些则不能,例如TopCount如果设置成Static Set就没多大意义了,今天解决个Excel访问SSAS的性能问题和此有关,之前有个项目在s...
分类:
其他好文 时间:
2014-09-04 13:10:09
阅读次数:
316
比如在Northwind数据库中有一个查询为SELECT c.CustomerId,CompanyName FROM Customers cWHERE EXISTS(SELECT OrderID FROM Orders o WHERE o.CustomerID=c.CustomerID) 这里面的E...
分类:
数据库 时间:
2014-09-03 21:17:27
阅读次数:
238
添加附件 string file = "Files"; string path = Server.MapPath(file); if (!System.IO.Directory.Exists(path))//判断文件夹是否已经存在 { System.IO.Directory.CreateDire.....
分类:
其他好文 时间:
2014-09-03 19:34:07
阅读次数:
239
在git for windows里面不能commit修改,提示open shellopen shell以后,使用git add [filename],会报错:fatal: Unable to create './.git/index.lock': File exists. If no other g...
在应用程序的InitInstance方法中,添加如下几行代码:CreateMutex(NULL,true,m_pszAppName); if(GetLastError()==ERROR_ALREADY_EXISTS) { AfxMessageBox(_T("程序已启动"),MB_OK|MB_APPLMODAL|MB_ICONSTOP); returnfalse; }
分类:
其他好文 时间:
2014-09-01 15:52:03
阅读次数:
164
MySQL replace into 用法(insert into 的增强版)
在向表中插入数据的时候,经常遇到这样的情况:1. 首先判断数据是否存在; 2. 如果不存在,则插入;3.如果存在,则更新。
在 SQL Server 中可以这样处理:
if not exists (select 1 from t where id = 1)
insert into t(i...
分类:
数据库 时间:
2014-09-01 12:37:13
阅读次数:
287
(本文仅供自己笔记查看用)新建database并导入数据:mysql> CREATE DATABASE IF NOT EXISTS site_facelook CHARSET utf8 COLLATE utf8_general_ci;mysql> use site_facelook;mysql> s...
分类:
数据库 时间:
2014-09-01 12:04:32
阅读次数:
190