I have a csv file with 350,000 rows, each row contains about 150 columns.
What would be the best way to insert these rows into SQL Server using ADO.Net?
As I usually did, you need to create the SQL statement manually. I was wondering if there is any way that I can encode it to just insert the whole datatable into SQL Server? Or a little short like that.
By the way, I already tried to do this using SSIS, but there are several data cleaning problems that I can deal with C #, but not so easily with SSIS. The data started as XML, but I changed it to CSV for simplicity.
alchemical
source share