SQL Server 中没有For循环,可以使用while循环代替 .
来源:互联网 发布:新开淘宝店铺怎么刷单 编辑:程序博客网 时间:2024/06/05 08:49
SQL Server 中没有For循环,可以使用while循环代替
CREATE PROCEDURE AddStudents AS
Begin
Declare @n bigint
Declare @Sql nvarchar(225)
set @n=0
while @n<10000
begin
Set @Sql='Insert into Students Values(''Hamunet'',10,''SianChina'',''123456789123'')'
Exec (@Sql)
set @n=@n+1
End
0 0
- SQL Server 中没有For循环,可以使用while循环代替
- SQL Server 中没有For循环,可以使用while循环代替 .
- 使用for循环代替while循环的场合
- for循环代替while(1)
- 030.For 循环代替 While 循环
- 030.For 循环代替 While 循环
- 030.For 循环代替 While 循环
- sql server while 循环
- Sql server中使用循环
- for循环while循环
- Python中for循环和while循环
- shell 中for、while循环
- SQL SERVER中FOR循环的模板
- while、do...while、for循环的使用
- C语言中循环结构语句 for循环及while,do--while 的使用
- while循环、do..while 循环、for循环
- for循环,do....while循环,while循环
- for循环,while循环,do while循环
- oracle监听启动失败和tns 协议适配器错误
- 改装汽车氙气灯 五分炫亮五分危险
- zendstudio 10.6php中文乱码
- tar: Exiting with failure status due to previous errors
- sdjzu 1128
- SQL Server 中没有For循环,可以使用while循环代替 .
- js数组的操作
- 苹果App Store审核指南中文翻译(最新2013-03-04)
- 使用fastjson导致主键自增列错误 Failed to insert row into content:
- pat 1004
- cmd 同时保存标准输出和错误
- linux netlink的使用及示例
- JSON优点
- ZJU PAT 1017 A除以B