BUG: Server Side Cursor Called Through RPC Can Cause Error 925Last reviewed: May 2, 1997Article ID: Q149245 |
The information in this article applies to:
SYMPTOMSIf a server-side cursor is opened through RPC calls from a ODBC or DB- Library application with ROWSET_SIZE set to greater than 1, the select statement references tables from the master database, and when master is not the current database, it can cause a stack overflow on SQL Server if the cursor is to be opened, fetched, and closed many times. (Note: This only happens to master, it does not apply to other cross-db references.) The following error message can be seen on both the client side and the SQL server errorlog repeatedly:
Msg 925, Level 19, State 1 Maximum number of used databases for each query has been exceeded. The maximum allowed is 8. WORKAROUND
STATUSMicrosoft has confirmed this to be a problem in Microsoft SQL Server version 6.0. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
|
Additional query words: sql6
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |