sql 中的while

declare @x int
set @x=1
while (@x<=100)
begin

print @x
set @x=@x+1
end

posted @ 2015-05-13 15:39  刀小爱  阅读(949)  评论(0编辑  收藏  举报