declare @x as int -- for counter
declare @y as int -- for number of insert statements
set @x = 0
set @y = 10
while @x <= @y
begin
--put insert statement here
set @x = @x + 1
end
Just put your insert statement in the middle.
------------------------------
The Users are always right - when I'm not wrong!