您的位置:首页技术文章
文章详情页

SQL SERVER中直接循环写入数据

浏览:3日期:2023-10-29 10:07:40

declare @i intset @i=1while @i<30begin insert into test (userid) values(@i) set @i=@i+1end

标签: Sql Server 数据库