BCP In of data too large fails [NC]

Cedric ROUVRAIS <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <OFD488C475.C4F520A3-ON85257618.007C712A-85257618.007CB375@us.world.socgen>
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.
*************************************************************************
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.