Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 BCP Import of using native format

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2002-03-15 : 10:05:39
Neil writes "I am trying to bcp a file in that has been created using the bcp out command with the "-n" option because it includes some unicode characters.

The command I use is the following :

bcp ATDW_NATIVE..product_record in product_record.txt -t \\\\\t\\\\ -r \\\\\t##\n -S OZCOMDB\OZCOMDB2000 -U sa -P -q -n

I keep running into the error :

Starting copy...
SQLState = S1000, NativeError = 0
Error = [Microsoft][ODBC SQL Server Driver]Unexpected EOF encountered in BCP data-file

I would like to know why I get this error and what is the eof file marker (I shall look for it in the actual file) to see if it appears in the unicode text.

Thanks for your help."
   

- Advertisement -