上一页 1 ··· 3 4 5 6 7 8 9 10 下一页
  2009年8月4日
摘要: 最近發現還有網友在提SQL2000的字符限制問題,以下舉一個例給大家參照: --動態建表: use Tempdb go if object_id('SP_CreateTable') is not null drop proc SP_CreateTable go create Proce... 阅读全文
posted @ 2009-08-04 13:33 中國風 阅读(159) 评论(0) 推荐(0) 编辑
  2009年7月23日
摘要: /* @T1: ID Name 1 a 2 b 3 c @T2: ID T1_ID Num 1 1 10 2 1 20 3 1 30 4 2 10 需要顯示結果: Name Num--合計 a 60 b 10 */ declare @T1 Table(ID int primary key,Name 阅读全文
posted @ 2009-07-23 11:37 中國風 阅读(138) 评论(0) 推荐(0) 编辑
摘要: Normal 0 0 2 false false false MicrosoftInternetExplorer4 ... 阅读全文
posted @ 2009-07-23 11:13 中國風 阅读(130) 评论(0) 推荐(0) 编辑
  2009年2月17日
摘要: /*根据〖中华人民共和国国家标准 GB 11643-1999〗中有关公民身份号码的规定,公民身份号码是特征组合码,由十七位数字本体码和一位数字校验码组成。排列顺序从左至右依次为:六位数字地址码,八位数字出生日期码,三位数字顺序码和一位数字校验码。15位身份证号码未位是双数是女性,单数是男性... 阅读全文
posted @ 2009-02-17 09:47 中國風 阅读(559) 评论(0) 推荐(0) 编辑
  2009年1月15日
摘要: use tempdbgo--表testif object_id('test') is not null drop table testcreate table Test(ID int identity(1,1) constraint PK_Test primary key,Name nvarchar 阅读全文
posted @ 2009-01-15 17:53 中國風 阅读(181) 评论(0) 推荐(0) 编辑
  2008年10月6日
摘要: --动态语句语法 /******************************************************************************************************************************************** 阅读全文
posted @ 2008-10-06 10:54 中國風 阅读(775) 评论(0) 推荐(0) 编辑
  2008年7月26日
摘要: --> --> (Roy)生成測試數據 set nocount on ; if not object_id('Tempdb..#T') is null drop table #T Go Create table #T([Num] int,[Name] nvarchar(1)) Insert... 阅读全文
posted @ 2008-07-26 18:31 中國風 阅读(148) 评论(0) 推荐(0) 编辑
摘要: --> --> (Roy)生成測試數據 if not object_id('Class') is null drop table Class Go Create table Class([Student] nvarchar(2),[数学] int,[物理] int,[英语] int,[... 阅读全文
posted @ 2008-07-26 18:09 中國風 阅读(175) 评论(0) 推荐(0) 编辑
  2008年7月23日
摘要: --查阻塞 /*********************************************************************************************************************************************** 阅读全文
posted @ 2008-07-23 19:49 中國風 阅读(162) 评论(0) 推荐(0) 编辑
  2008年7月21日
摘要: --死鎖 /********************************************************************************************************************** 死鎖指兩個以上事務相互阻塞相互等待對方釋放它們的鎖 阅读全文
posted @ 2008-07-21 20:04 中國風 阅读(195) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 下一页