How in .Net do I Import Values from a CSV in the format I want using OleDB?

后端 未结 5 1886
悲&欢浪女
悲&欢浪女 2021-01-21 00:11

I have a CSV file that has a column that contains strings that look like integers. That is they should be dealt with as strings, but since they are numbers they appear to be im

5条回答
  •  广开言路
    2021-01-21 01:08

    Do you have control of the export process? If so can data be exported to CSV with quotes around the string items?

    If this is a one of job then just import the file into a predfined SQL table using Integration Services, but I suspect this will be a recurring task.

提交回复
热议问题