This is a discussion on BCP_INIT Question within the MS SQL ODBC forums, part of the Microsoft SQL Server category; --> Hi. I am trying to load data from program variables using ODBC interface. ret := bcp_init(fhdbc, Table,'',ErrorLog,1); I call ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi. I am trying to load data from program variables using ODBC interface. ret := bcp_init(fhdbc, Table,'',ErrorLog,1); I call bcp_init with error log file as a parameter. How everthere are no error messages at all. It actually creates error log but it is empty. and bcp_sendrow returns success. When I use db lib everything is fine except I cant load data into identity filed. Is there any way to get info for a log file like PK violation or constraint/not null violation. Also another problem Let say I have a table with 2 fileds. If I don't bind last column it does not load any data at all It is related only for ODBC. For dblib it works fine. Any Ideas? Vladimir |
| Thread Tools | |
| Display Modes | |
|
|