How to insert 10000 Data at a time in Sqlserver
2218
01-Jan-2016
I want to insert 10000 Data at a time in SqlServer .please help me how to write query.
Updated on 01-Jan-2016
Anonymous User
01-Jan-2016declare @Cust_id int; select @Cust_id = 1; while @Cust_id >=1 and @Cust_id <= 10000 begin insert into Customer values(@Cust_id,'Suresh' + convert(varchar(5), @Cust_id), '89532494**') select @Cust_id = @Cust_id + 1 end