直接循环写入数据

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