--循环执行插入100000条数据
declare @ID int
begin
set @ID=1
while @ID<=100000
begin
insert into table(ID)
values(@ID)
set @[email protected]+1
end
end
原文地址:https://www.cnblogs.com/m903277683/p/12073743.html
时间: 2024-11-14 10:41:09
declare @ID int
begin
set @ID=1
while @ID<=100000
begin
insert into table(ID)
values(@ID)
set @[email protected]+1
end
end
原文地址:https://www.cnblogs.com/m903277683/p/12073743.html