FIX: LockMgr Message on Open of Static Cursor

Last reviewed: May 2, 1997
Article ID: Q149763

The information in this article applies to:
  • Microsoft SQL Server, version 6.0
BUG#: 13954 (6.00)

SYMPTOMS

Db-library cursor library or ODBC applications may cause the following message to be logged in the SQL Server error log when they open a static cursor:

 spid10   LockMgr: Zero Lock Esc Threshold (TABID=-3351,DBID=2).
          Default used.

WORKAROUND

Use another cursor type other than static for these queries. Recode the select to see if a query can be found that does not generate the message.

STATUS

Microsoft has confirmed this to be a problem in Microsoft SQL Server version 6.0. This problem has been corrected in Microsoft SQL Server version 6.5. For more information, contact your primary support provider.

MORE INFORMATION

The message is only generated on static cursors, not dynamic, keyset, or forward_only cursors. The message also only occurs for some selects, if the cursor is opened on a similar select on the same table, or another table, the message does not occur. The only effect is in sites opening many static cursors that generate the message; in these sites, the space taken up by the messages can be significant.


Additional query words: sql6 cursor
Keywords : kbbug6.00 kbfix6.00.sp3 kbprg SSrvProg
Version : 6.0
Platform : WINDOWS
Issue type : kberrmsg


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: May 2, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.