小老鼠的博客
先做人,后做事~
摘要: 1.Sql插入语句得到自动生成的递增ID值 insert into Table1(Name,des,num) values('lp','base',10) select @@identity as 'ID'2.实现是1或0显示为男或女 select name,sex=   case Sex    when '1' then '男'    when '0' then '女'  end from Ta... 阅读全文
posted @ 2010-01-06 16:17 TS_Little Mouse 阅读(522) 评论(0) 推荐(1)
摘要: 从2010年开始,就要在这里记录自己的学习历程啦~ 欢迎大家来指点~ 阅读全文
posted @ 2010-01-06 10:49 TS_Little Mouse 阅读(270) 评论(2) 推荐(0)
摘要: use mastergocreate procedure sp_who_lockasbegindeclare @spid int,@bl int,@intTransactionCountOnEntry int, @intRowcount int, @intCountProperties int, @intCounter intcreate table #tmp_lock_who (id int i... 阅读全文
posted @ 2010-01-06 10:44 TS_Little Mouse 阅读(448) 评论(0) 推荐(0)