I\'m using Postgres, and I have a large number of rows that need to be inserted into the database, that differ only in terms of an integer that is incremented. Forgive what
In SQL Server you can do:
DECLARE @i int SET @i = 1 WHILE @i<1000000 BEGIN INSERT INTO articles VALUES @i SET @i=@i+1 END