2009年12月17日
摘要: 原文地址:http://hi.baidu.com/tz3638/blog/item/6ddde0dc373b67a5cc116645.htmlcreate table #A(id int)goinsert into #A s(1)insert into #A s(2)insert into #A s(3)insert into #A s(4)go--All:对所有数据都满足条件,整个条件才成立,例... 阅读全文
posted @ 2009-12-17 22:37 Myhsg 阅读(3760) 评论(0) 推荐(1) 编辑
摘要: 原文地址:http://blog.csdn.net/Adi_liu/archive/2007/12/06/1920606.aspx如果想查找“_cs”结尾的的账户select * from [user] where loginname like '%_cs'是不行的,_ 被认为是任意的字符,所以需要转义字符,有两种写法:select * from [user] where ... 阅读全文
posted @ 2009-12-17 22:35 Myhsg 阅读(451) 评论(0) 推荐(0) 编辑