Bulkinsert from CSV into db (C#) -> max number of rows in a web application?
- by Swoosh
Web application - C#, .Net, SQL 2k5.
I recently used bulkinsert on an other application and I thought I would like to give it a try.
I am going to receive a CSV file with 1000 rows, which will most likely add 500 000 (that is five hundred thousand) records in the database.
I don't have any idea yet about this huge amount if it's going to work out well. I am afraid that it will time out.
I didn't do any testing yet, but I am pretty sure it would time out eventually.
Is there a way to make it not time out (I don't know ... split the bulkinsert into 1000 pieces :D) or I should try to do something like BCP, with a SQL job ...