FIX: Bad Token or AV If Sp_cursoropen After Dropping IndexID: Q164215
|
Sp_cursoropen generates an access violation (AV) in xpcursordeclare (on a
checked server) or breaks the connection (on a retail server) if you do
all of the following:
To work around this problem, do any of the following:
Microsoft has confirmed this to be a problem in Microsoft SQL Server version 6.5. This problem has been corrected in U.S. Service Pack 3 for Microsoft SQL Server version 6.5. For more information, contact your primary support provider.
SQL Server supports two different server-side cursor interfaces. One is
ANSI SQL cursors, which are exposed through Transact-SQL statements such
as DECLARE, FETCH, and so on. The other cursor interface is an extended
cursor interface that is accessed through the DB-Library and ODBC APIs.
The sp_cursor extended cursor statements are emitted by the DB-Library or
ODBC layers in response to certain DB-Library or ODBC API calls. Higher-
level interfaces such as Remote Data Objects (RDO) will often encapsulate
these API-level calls, so you would need to run a trace utility such as
SQL Trace to verify the sp_cursor call being made.
For more information on cursors and concurrency modes, see the on-line
documentation and the following article in the Microsoft Knowledge Base:
Q156489 : Overview of SQL Server, ODBC, and DB-Library Cursors
Keywords : kb3rdparty kbhw SSrvDB_Lib SSrvGen
Version : 6.5
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: April 8, 1999