sql
sam20151111sam
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
sql 去重复语句
select SourceUserID,SourceGold,SourceBank,SwapScore,ClientIP,CollectDate from master.dbo.RecordInsure a1 where exists (select 1 from master.dbo.RecordInsure a2 where a2.SourceUserID=a1.SourceUserID h转载 2015-04-13 10:01:56 · 454 阅读 · 0 评论 -
sql for 循环
declare @i intset @i = 1while @i begin update top (1) @t set name = @i where name = '123' set @i = @i + 1end转载 2015-04-20 23:01:59 · 7320 阅读 · 0 评论 -
sql 删除 空记录
delete from stock.dbo.hq where PriceNow is NULL转载 2015-04-21 15:38:11 · 2151 阅读 · 0 评论
分享