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 |
What is a partition key?
two tables with table name ship(name,year) and battle (name,year),how to find the latest added year in the table ship
How to Get the last identity value used
what is the basic diffrence betn a col declared in char(1) and in varchar(1)
What is the difference between count () and rowcount ()?
I am Having tables T1 and T2 both having same data how to check (or) compare the data in both table are same?
Is it possible to create tables in stored procedures using a variable for the table name?
What does null mean?
Where are sql server usernames and passwords stored in the sql server?
What is a not null constraint?
How many nested transaction can possible in sql server?
What is the difference between Drop and Truncate