asp.net - Insert multiple records in one query -


I'm trying to add approximately 100,000 to my SQL Server database. When I prepare 100,000 different queries, it is really slow, so I tried to put all of these records in one query, it used to work for some thousands of records before, but then threw me a timeout error Gone.

What is the fastest way to include multiple records in the database?

Also ... this web request if you increase the command timeout (separate from connection timeout) You can find it around, but these large scale heavy loads are to be taken out of the process job which actually loads.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -