--测试表CREATE TABLE [dbo].[Employee] ( [EmployeeNo]
INT PRIMARY KEY, [EmployeeName] [nvarchar](50) NULL, [CreateUser] [nvarchar](50)
NULL, [...
分类:
数据库 时间:
2014-05-10 19:23:09
阅读次数:
451
之前只是看过关于SQL Server
2008中添加了percent功能,今天终于有机会试了!今天处理好的数据,上头让修改下,把营销结果为Null的值20%改为“未通过”,80%的改为“拒绝”。于是乎就想到了percent:首先使用了下select
top 20 percent from xxxta...
分类:
数据库 时间:
2014-05-10 07:04:57
阅读次数:
418
坑爹地多次过,全都是写程序时不注意的小问题,书写习惯还需要进一步改善。遇到的bug有:忘记return语句;定义ListNode
runner = head.next,却将判断head==null的情况放在这句之后;
忘记了新的head将不会是原来的那个head,而是head.next;所以以后遇到...
分类:
其他好文 时间:
2014-05-10 06:59:37
阅读次数:
320
很简单的题目,一次过,注意为数组空的时候,应返回0而非null 1 public class
Solution { 2 public int searchInsert(int[] A, int target) { 3 int i; 4 if
(A.length...
分类:
其他好文 时间:
2014-05-10 06:51:21
阅读次数:
288
int BubbleSort(int a[]){ int length =
sizeof(a)/sizeof(int); int i,j; int temp; for(i = 0;i i;j--) { if(a[j] <
a[j-1]) { ...
分类:
其他好文 时间:
2014-05-10 03:24:40
阅读次数:
233
Problem DescriptionA tree is a well-known data
structure that is either empty (null, void, nothing) or is a set of one or more
nodes connected by dire...
分类:
其他好文 时间:
2014-05-10 03:18:52
阅读次数:
374
AJAX的知识: XmlHttp.open():其实也就是链接到一个后台程序,把值传递过去;
XmlHttp.send(null) //注意:open()方法就是仅仅只是打开链接,并没有传值过来,所以需要send方法例: var xmlHttp;
function sendParam...
分类:
其他好文 时间:
2014-05-10 03:09:55
阅读次数:
281
转载void CTestDlg::DeleteDirectory(CString
strDir){ if(strDir.IsEmpty()) return; //首先删除文件及子文件夹 CFileFind ff; BOOL bFound =
ff...
分类:
其他好文 时间:
2014-05-10 03:01:13
阅读次数:
292
1. fopen函数1 #include 2 FILE *fopen(const char
*path, const char *mode) 返回:文件顺利打开后,指向该流的文件就会被返回。如何文件打开失败则返回NULL,并把错误代码存在 errno
中。参数说明: mode: 1)r 以只读方式....
分类:
其他好文 时间:
2014-05-10 03:00:13
阅读次数:
290
/** * 转换图片成圆形 * * @param bitmap * 传入Bitmap对象 *
@return */ public static Bitmap toRoundBitmap(Bitmap bitmap)...
分类:
移动开发 时间:
2014-05-10 02:46:10
阅读次数:
436