The information in this article applies to:
BUG#: 11704 (6.00) SYMPTOMSIf the Microsoft SQL Server ODBC Driver encounters a constraint violation it raises a SqlState of 37000 (Syntax error or access violation) instead of 23000 (Constraint violation). STATUS
Microsoft has confirmed this to be a problem in the Microsoft SQL Server
ODBC Driver version 2.50.0121. We are researching this problem and will
post new information here in the Microsoft Knowledge Base as it becomes
available.
MORE INFORMATION
If the driver encounters a SQL Server constraint violation, it correctly
passes the error message back to the client:
Instead of raising this with a SqlState of 37000, however, the driver should be raising a SqlState of 23000. This happens on both SQLExecDirect and SQLExecute. Additional query words: sql6 odbc SQLExecDirect SQLExecute
Keywords : kbinterop SSrvProg kbbug6.00 |
Last Reviewed: April 16, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |