Commas within CSV Data

前端 未结 7 1599
春和景丽
春和景丽 2020-12-01 12:36

I have a CSV file which I am directly importing to a SQL server table. In the CSV file each column is separated by a comma. But my problem is that I have a column \"address\

7条回答
  •  半阙折子戏
    2020-12-01 12:59

    I don't think adding quote could help.The best way I suggest is replacing the comma in the content with other marks like space or something.

    replace(COLUMN,',',' ') as COLUMN
    

提交回复
热议问题