The information in this article applies to:
SYMPTOMSWhen updating a cursor, SQL Server generates an access violation (AV) and generates a stack trace and a dump file. From ISQL, users receive the following error: ODBC users receive the following error and the client application typically stops responding (including the development environment, such as Visual Basic): In Visual Basic, the AV occurs when an Edit/Update is performed against a recordset of a VIEW that contains an ANSI style INNER JOIN, or when an equi- join to a SQL Server cursor is opened and an attempt is made to update that cursor. The recordset's cursor type (KEYSET, DYNAMIC, or FORWARD_ONLY) has no effect on the failure. That is, it fails no matter what cursor type is used. This problem does not occur with a STATIC cursor because a STATIC cursor is read-only, and the AV occurs during the attempt to update. WORKAROUND
To work around this problem, create the view using Transact-SQL style outer
joins (for example, *= or =*).
STATUSMicrosoft has confirmed this to be a problem in SQL Server
version 6.5. This problem has been corrected in U.S. Service Pack 5a
for Microsoft SQL Server version 6.5. For information about
downloading and installing the latest SQL Server Service Pack, see
http://support.microsoft.com/support/sql/.
MORE INFORMATIONThe following stack trace is from the DEBUG version 6.50.0240:
This bug is handled by SQL Server, and a dmp file is created. This problem happens on SQL Server builds 6.50.240 and 6.50.258. It does not happen on SQL Server builds 6.50.201, 6.50.213 and 7.00.257. NOTE: RDO will generate the sp_cursorfetch and sp_cursor calls from the following code:
Additional query words: prodsql sp sp5
Keywords : kbusage SSrvGen SSrvGPF kbbug6.50 kbfix6.50.SP5 |
Last Reviewed: November 17, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |