[freetds] BCP In of data too large fails [NC]

Cedric ROUVRAIS cedric.rouvrais at sgcib.com
Fri Aug 21 11:18:17 EDT 2009


Hi guys,

I guess I owe one to JKL then :o)

Anyway I changed the function: DBINT dbconvert(DBPROCESS * dbproc, int
srctype, const BYTE * src, DBINT srclen, int desttype, BYTE * dest, DBINT
destlen) last night and did some simple tests

Here is the result of the execution:

bash-3.2$ bcp test_table in test_table.dat -Sserver -Uuser -Ppassword -c
-t"|"

Starting copy...
dblib error: The result is truncated because the conversion/operation
resulted in overflow. Source data "RDJF TFS CRE -
AdvisedExportLetterOfCredit" should not exceed 32 chars.
1 rows copied.

Thanks,

Cedric


*************************************************************************
This message and any attachments (the "message") are confidential, intended 
solely for the addressee(s), and may contain legally privileged information.  
Any unauthorised use or dissemination is prohibited.  E-mails are susceptible 
to alteration.  Neither SOCIETE GENERALE nor any of its subsidiaries or 
affiliates shall be liable for the message if altered, changed or falsified.
*************************************************************************



More information about the FreeTDS mailing list