直接循环写入数据

有时候我们需要想数据中写数据
declare @i int
set@i=1
while @i<30
begin
insert into table(id) values(@i)
set @i=@i+1
end 

原文链接:https://tiehoo.com/280.html,转载请注明出处。

0
显示验证码
没有账号?注册  忘记密码?