The information in this article applies to:
BUG# 10210 (4.21) SYMPTOMS
The Windows 3.x DB-Library functions, dbsqlexec() or dbsqlok(),
return fail immediately following a RAISERROR event. The problem
is also seen in VBSQL applications when calling the equivalent
functions sqlexec% and sqlok%. This problem does not happen with
DB-Library for Windows NT.
CAUSEIf a RAISERROR is the first thing called in a stored procedure or SQL batch, the dberrhandler will be called before dbsqlexec() or dbsqlok() return and after the error handler has finished a FAIL is returned to the function. WORKAROUND
Three different actions can be taken to avoid the problem:
STATUSMicrosoft has confirmed this to be a problem in DB-Library version 4.21.00 for Windows 3.x. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. Additional query words: dblib
Keywords : kbprg SSrvDB_Lib kbbug4.21 |
Last Reviewed: March 20, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |