JamesJKusch
MIS
Having an issue, and wrestling match, with BCP import function … and it’s winning.
Here is the command I am using. Have already created the output file using BCP without a hitch.
============================================================
Bcp reports..calendar2 in cal_out.txt –Usa –Prpt4m3 -Sreports –c
============================================================
This is the message that comes back after I invoke it from the command line.
Starting copy …
SQLState = 22001, NativeError = 0
Error = [Micrsoft][ODBC SQL Server Driver]String data, right truncation
SQLState = 22001, NativeError = 0
Error = [Micrsoft][ODBC SQL Server Driver]String data, right truncation
SQLState = 22001, NativeError = 0
Error = [Micrsoft][ODBC SQL Server Driver]String data, right truncation
SQLState = 22001, NativeError = 0
Error = [Micrsoft][ODBC SQL Server Driver]String data, right truncation
SQLState = S1000, NativeError = 0
Error = [Micrsoft][ODBC SQL Server Driver]Unexpected EOF encountered in BCP data-file
0 rows copied
Network packet size (bytes): 4096
Clock Time (ms.): total 127687
============================================================
Here are some more stats on the operation:
FileName is: cal_out.txt and resided in the root directory (C
FileSize is: 711,652,316 bytes
TableCopiedFrom: Calendar
TableCopyingTo: Calendar2
ServerName: Reports
PassAndUser: sa/rpt4m3
============================================================
Have found that SQL2000 has a similar issue but not sure with SQL7. Both on an NT4 platform running the current SPs. Any and all help would be appreciated!!!
Thanks for all the help ... As Usual
J. Kusch
Chameleon Solutions, Inc.
Here is the command I am using. Have already created the output file using BCP without a hitch.
============================================================
Bcp reports..calendar2 in cal_out.txt –Usa –Prpt4m3 -Sreports –c
============================================================
This is the message that comes back after I invoke it from the command line.
Starting copy …
SQLState = 22001, NativeError = 0
Error = [Micrsoft][ODBC SQL Server Driver]String data, right truncation
SQLState = 22001, NativeError = 0
Error = [Micrsoft][ODBC SQL Server Driver]String data, right truncation
SQLState = 22001, NativeError = 0
Error = [Micrsoft][ODBC SQL Server Driver]String data, right truncation
SQLState = 22001, NativeError = 0
Error = [Micrsoft][ODBC SQL Server Driver]String data, right truncation
SQLState = S1000, NativeError = 0
Error = [Micrsoft][ODBC SQL Server Driver]Unexpected EOF encountered in BCP data-file
0 rows copied
Network packet size (bytes): 4096
Clock Time (ms.): total 127687
============================================================
Here are some more stats on the operation:
FileName is: cal_out.txt and resided in the root directory (C
FileSize is: 711,652,316 bytes
TableCopiedFrom: Calendar
TableCopyingTo: Calendar2
ServerName: Reports
PassAndUser: sa/rpt4m3
============================================================
Have found that SQL2000 has a similar issue but not sure with SQL7. Both on an NT4 platform running the current SPs. Any and all help would be appreciated!!!
Thanks for all the help ... As Usual
J. Kusch
Chameleon Solutions, Inc.