SQL Server Bulk Insert

后端 未结 7 1435
说谎
说谎 2021-01-19 05:54

I want to import a one column text file into one of my sql tables. The file is just a list of swear words.

I\'ve written the following TSQL to do this



        
7条回答
  •  离开以前
    2021-01-19 06:18

    Check the last line has CR/LF (\r\n). Sometimes thats the problem, some other times an extra carriage return is at the end of the file. You can check that with an hexeditor.

提交回复
热议问题