C# Importing Large Volume of Data from CSV to Database

Posted by guazz on Stack Overflow See other posts from Stack Overflow or by guazz
Published on 2010-04-14T22:31:52Z Indexed on 2010/04/14 22:33 UTC
Read the original article Hit count: 252

What's the most efficient method to load large volumes of data from CSV (3 million + rows) to a database.

  • The data needs to be formatted(e.g. name column needs to be split into first name and last name, etc.)
  • I need to do this in a efficiently as possible i.e. time constraints

I am siding with the option of reading, transforming and loading the data using a C# application row-by-row? Is this ideal, if not, what are my options? Should I use multithreading?

© Stack Overflow or respective owner

Related posts about relational-database

Related posts about csv