摘要:
declare @itemnumber int --定义需要循环的次数 declare @tagint int --定义标志字段,用于结束循环 set @tagint=1 select @itemnumber = count(distinct Creater) from Demo_TestTable where isnull(Creater,'')'' And DATEDIFF(DAY,CreatDate,GETDATE())0) begin while @tagint'' And DATEDIFF(DAY,CreatDate,GETDATE() 阅读全文
posted @ 2013-07-24 16:44
David.Yun
阅读(408)
评论(1)
推荐(0)
浙公网安备 33010602011771号