Skip to Content.
Sympa Menu

freetds - [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: [freetds] BCP In of data too large fails [NC]
  • Date: Thu, 20 Aug 2009 18:42:03 -0400

Hi guys,

The bcp in a row that contains one or more columns that have too much data
in the file results in the line not being inserted. I have the impression
this is done at the bcp/dblib level whereas it should be done by the
database (SET ANSI_WARNINGS OFF | ON)

Does anyone know where this is done precisly?

I am currently looking at static RETCODE _bcp_read_hostfile(DBPROCESS *
dbproc, FILE * hostfile, int *row_error)

but if some could point out the code location, it would be helpful

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