Hi Milen > -----Original Message----- > From: Milen Manev [mailto:mmanev@;gmx.net] [snipped] > 1) I create table testtable (i integer default 10) > 2) I try to insert NULL into this table using SQL statement via ODBC. > If I use: > insert into testtable (i) values (NULL) > everithing works fine. > But if I try to bind parameter > insert into testtable (i) values (?) > and to set to this parameter to SQL_NULL_DATA > I receive error: [SAP AG][SQLOD32 DLL]Integrity constraint violation
Thank you for reporting the bug and for the small program. I have to confirm the bug, which will be fixed within the next build (30). Only columns, which have default values, are affected. FYI, using SQL_DEFAULT_PARAM will return the same error message. This is already known, but it is not established whether the fix will be part of build 30. Thanks a lot for your help Thomas ---------------------------------------------- Dr. Thomas K�tter SAP DB, SAP Labs Berlin SAP DB is open source. Get it! www.sapdb.org _______________________________________________ sapdb.general mailing list [EMAIL PROTECTED] http://listserv.sap.com/mailman/listinfo/sapdb.general
