BUG: Problems with Server Cursors on a Stored ProcedureLast reviewed: October 20, 1997Article ID: Q175126 |
The information in this article applies to:
SYMPTOMSRunning a server cursor on a stored procedure may cause SQL Server to stop responding to all clients if all of the following conditions are true:
WORKAROUNDTo work around this problem, do any of the following:
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.
MORE INFORMATIONTo determine the type of cursor being used, see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q156489 TITLE : INF: Overview of SQL Server, ODBC, and DB-Library CursorsTo determine if your query uses a worktable, see the "Worktable n" topic in SQL Server Books Online. You can find this topic in the Administrator's Companion 6.0 under Part 8, "Troubleshooting" in Chapter 23, "Understanding SHOWPLAN Output." Additionally, running sp_recompile is not necessary, but instead a change to the schema_ver column of the sysobjects system table can cause this problem. The following system stored procedures also modify the schema_ver column: sp_bindefault, sp_bindrule, sp_rename, sp_unbindefault, and sp_unbindrule.
|
Additional query words: responsive spinlock rdo keyset work table
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |