The information in this article applies to:
SYMPTOMS
BUG #: 17186 (Windows: 6.5)
and the INSERT statement fails due to a duplicate key, a severity 14 error
is generated but the batch continues. The dbsqlok and dbsqlexec calls only
check the success of the first command. If you do not call dbresults, you
will not process the SELECT statement results. In this case, you may get
"result pending" errors.
WORKAROUNDTo work around this problem, see the following article in the Microsoft Knowledge Base for complete result processing details: Q165951 INF: Result Processing for SQL ServerIn most cases, you will ignore the return code and continue the dbresults looping until either NO_MORE_RESULTS is returned or DBDEAD becomes TRUE. This ensures that all result sets are processed. STATUSMicrosoft has confirmed this to be a problem in SQL Server version 6.5. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. Additional query words: sev
Keywords : kbprg SSrvDoc_Err SSrvProg kbbug6.50 |
Last Reviewed: December 14, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |