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

Cedric ROUVRAIS cedric.rouvrais at sgcib.com
Thu Aug 20 18:42:03 EDT 2009


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



More information about the FreeTDS mailing list