摘要:
下面就将为您分析SQL循环语句的例子,并分析了其中的一些问题,供您参考,希望对您学习SQL语句能够有所帮助。 AD: 在sqlserver 数据库中,循环语句是最常用的语句之一,下面就将为您分析SQL循环语句的例子,供您参考,希望对您有所启迪。 SQL循环语句 declare @i int set @i=1 while @i<30 begin insert into test (userid) values(@i) set @i=@i+1 end--------------------------while 条件 begin 执行操作 set @i=@i+1 endWH... 阅读全文
posted @ 2012-03-08 11:26
Jeri
阅读(1113)
评论(0)
推荐(0)
浙公网安备 33010602011771号