循环插入
declare @i int,@id int
select @i=0 ,@id=1040
while @i<=10
begin
INSERT INTO tablename (id,列1,列2,...)
VALUES(@id,列1值,列2值,...)
set @i=@i+1
set @id=@id+1
end
...............................................................................................