Sounds like a problem with the data in the bcp file either some
invalid data, possibly a <tabembedded in your data (eg, fullname
column), or possibly some corruption in the bcp file (eg, an erroneous
<return>).
What shows up in error2.out?
Have you been able to zero in on a particular record giving you problems?
NTE: If there is a problem with a non-unique record or field
terminator the problem could be with an earlier record. In this case
you'll want to make sure that for all records that *did* make into the
target table that they contain the correct data for *all* columns.
darkknight56 wrote:
I'm trying to bcp into a 12.5 Sybase table in tempdb the syslogins file
which was bcp'd out of another server. I keep getting the following
error in regards to the password column -
CSLIB Message: - L0//S0/N36/1/0:
cs_convert: cslib user api layer: common library error: The result is
truncated because the conversion/operation resulted in overflow.
The bcp command I used is: bcp tempdbtmp_syslogins in syslogins.bcp.c
-b1 -c -t'\t' -eerror2.out -S $DSQUERY -U sa -P $PASSWD
The syslogins was bcp'd out with the -c and has tab-separated columns.
Any suggestions?
Patrick