Hello all. I am using bcp to copy a table to another database. In the new database, I execute a CREATE TABLE tsql statement to re-create the table. Then, I use bcp to load the table. I keep getting these errors:
SQLState = 22001, NativeError = 0
Error = [Microsoft][ODBC SQL Server Driver]String data, right truncation
SQLState = 22003, NativeError = 0
Error = [Microsoft][ODBC SQL Server Driver]Numeric value out of range
SQLState = 22003, NativeError = 0
Error = [Microsoft][ODBC SQL Server Driver]Numeric value out of range
BCP copy in failed
I would not think that I should receive these errors if I re-create the destination table exactly like the current table.
Any ideas?
Tnanks in advance for your help.
Steve
sms@hmbnet.com
SQLState = 22001, NativeError = 0
Error = [Microsoft][ODBC SQL Server Driver]String data, right truncation
SQLState = 22003, NativeError = 0
Error = [Microsoft][ODBC SQL Server Driver]Numeric value out of range
SQLState = 22003, NativeError = 0
Error = [Microsoft][ODBC SQL Server Driver]Numeric value out of range
BCP copy in failed
I would not think that I should receive these errors if I re-create the destination table exactly like the current table.
Any ideas?
Tnanks in advance for your help.
Steve
sms@hmbnet.com