Accented characters not correctly imported with BULK INSERT

前端 未结 4 2013
遥遥无期
遥遥无期 2021-01-15 05:22

I am importing a source CSV file, I don\'t know the source encoding and I can only see either � (ANSI encoding) or (UTF8-without-BOM encoding)

4条回答
  •  广开言路
    2021-01-15 05:36

    I still cannot believe that after all these years Microsoft has not fixed this obvious bug. There should be no problem with èéêë etc because they are all ascii(<255). This quest is posed over and over again on many sites and the question has yet to be answered

    My data is in a table in excel. having generated the insert into statements the table is parsed a 2nd time looking for asccii > 'z' and generating and update table set column statement to overwrite the imported data. Cumbersome but workable

提交回复
热议问题