I want to import data from a csv file into SQL Server through C#. CSV file has over 2000 columns when converted.
What is the best way to approach this?
It's going to be an ongoing process and I am looking to perform CRUD operations.
I tried converting csv into datatable and used SQLBulkCopy to insert which seems to work for me. I am confused on how to structure the SQL table, since there is a limit of 1024 columns.