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
I will share my experience with this issue. My users were sending me UTF-8 encoding and everything was working fine. My load started to fail when they updated the encoding to Encode in UCS-2 LE BOM. Use notepad++ to check these setting.
Reverting back to UTF-8 fixed my problem.
This link helped me resolving my issue.
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"|^|"