The information in this article applies to:
SUMMARYThis article documents how the Microsoft ODBC SQL Server Driver reports messages returned from SQL Server. MORE INFORMATION
If the Microsoft ODBC SQL Server Driver receives a message from SQL
Server, it will return SQL_ERROR or SQL_SUCCESS_WITH_INFO to the ODBC
function call. If the application then calls SQLError, the driver will
return information similar to the following:
The pfNative code and szErrorMsg string contain the message from SQL Server. The szErrorMsg string breaks down as follows:
The driver returns the error code it received from SQL Server in the pfNative parameter. You can look up the error codes in either Chapter 26, "System Messages" in the SQL Server 6.0 or 6.5 "Administrator's Companion," or in Appendix C, System Messages from the SQL Server 4.2 "Troubleshooting Guide." Additional query words: sql6 windows nt err
Keywords : kbusage SSrvGen |
Last Reviewed: April 15, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |