Re: BCP In of data too large fails [NC]
Cedric ROUVRAIS <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <OF5B3723D2.A8E878DE-ON85257619.00539CC7-85257619.00541236@us.world.socgen> |
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. *************************************************************************