i'm trying to insert data from a text file using the bcp utility
this is my command:
bcp MyDatabase.dbo.MyTbl in c:\Mssql7\files\inputdata.txt -T -fc:\Mssql7\files\bcp.fmt -ec:\Mssql7\files\inputlog.err
and i'm receiving this error:
SQLState = S1000, NativeError = 0
Error = [Microsoft][ODBC SQL ServerDriver]Unexpected EOF encountered in BCP data-file
0 rows copied.
Network packet size (bytes): 4096
Clock Time (ms.): total 17916
any idea what's wrong?
this is my command:
bcp MyDatabase.dbo.MyTbl in c:\Mssql7\files\inputdata.txt -T -fc:\Mssql7\files\bcp.fmt -ec:\Mssql7\files\inputlog.err
and i'm receiving this error:
SQLState = S1000, NativeError = 0
Error = [Microsoft][ODBC SQL ServerDriver]Unexpected EOF encountered in BCP data-file
0 rows copied.
Network packet size (bytes): 4096
Clock Time (ms.): total 17916
any idea what's wrong?