标签:log blog name sql insert declare 语句 while set
--if语句
declare @i int set @i=1 if @i<0 begin set @i=@i+1 print @i end else
--循环语句 declare @i int set @i=0 while @i<5 begin set @i= @i+1 insert into grade(classname) values(@i) end
标签:log blog name sql insert declare 语句 while set
原文地址:http://www.cnblogs.com/justqi/p/5984135.html