Upload CSV file to SQL server

前端 未结 8 2079
悲哀的现实
悲哀的现实 2020-12-02 09:29

What is the best way to upload a large csv data file into SQL server using C# ? The file contains about 30,000 rows and 25 columns.

8条回答
  •  佛祖请我去吃肉
    2020-12-02 09:58

    This sounds like a perfect job for SSIS. It's a free part of SQL Server, can loop through all the csv files in a folder, is very fast, and has excellent error handling and logging.

提交回复
热议问题