How to insert 10000 Data at a time in Sqlserver
Ask by Anonymous User
Updated 01 Jan 2016
declare @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