how do we insert 100 records at a time in a table without
using for loop in database
Answer / prashant
FOR SQL Server only -
That depends on where your data (100 rec) is
If it's in a txt file, you may try SQLBULKCOPY:
http://msdn.microsoft.com/en-us/library/7ek5da1a.aspx
else, you may try Data Flow task in SQL Server Integration
Service (SSIS) to upload the data from other source.
Is This Answer Correct ? | 1 Yes | 2 No |
Help!!!!!!!!!!!! My database has gone offline, it is highlighted as 'Suspect'. Foolishly, i haven't got a recent back up. Is there a way of quickly restoring the database? Thank you
Beginning with sql server version 7 0, a new enhanced data type nchar was added what type of data is supported with this data type?
What is sql server management studio? : sql server management studio
How to create a ddl trigger using "create trigger" statements?
What are the steps to process a single select statement?
WRITE A FUNCTION TO DISPLAY THE OUTPUT OF AN EXISTING TABLE RANGE LIKE COMMAM SEPERATED VALUES LIKE RANGE1,RANGE2,...
What is normalization? What number of normalization shapes are there?
What is collation?
What is optimistic concurrency?
can an automatic recovery be initiated by a user? : Sql server administration
How to Generate a Series of Random Integers With T-SQL?
How to automatically create a log when an exception is being received into SQL Server?