I am trying to insert 100 rows in a single queries into the table.
my table is CREATE User (ID INT IDENTITY(1,1))
Thanks in advance.
my table is CREATE User (ID INT IDENTITY(1,1))
Thanks in advance.
DECLARE @CN INT WHILE (@CN<=100) BEGIN INSERT INTO yourTable (columnName) SELECT @CN SET @CN = @CN + 1 END
Comment