Unexpected EOF encountered in BCP

后端 未结 8 1775
无人及你
无人及你 2020-12-30 11:43

Trying to import data into Azure. Created a text file in Management Studio 2005. I have tried both a comma and tab delimited text file.

BCP IN -c -t, -r\\n -U -S

8条回答
  •  星月不相逢
    2020-12-30 12:14

    I was facing the same error while trying to bcp in the records from datafile to table. A workaround which works is just open the file in Notepad++ or similar editor and add extra line at the end of the file.This worked for my case - field separator - |^|, row separator - new line (LRCF).

    Command used: bcp in -T -c -t"|^|"

提交回复
热议问题