Skip to Content.
Sympa Menu

freetds - Re: [freetds] BCP In of data too large fails [NC]

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Cedric ROUVRAIS <cedric.rouvrais AT sgcib.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] BCP In of data too large fails [NC]
  • Date: Fri, 21 Aug 2009 11:18:17 -0400

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.
*************************************************************************





Archive powered by MHonArc 2.6.24.

Top of Page