BUG: Locks Held Using Optimistic Concurrency w/ No Unique IndexLast reviewed: August 19, 1997Article ID: Q172694 |
The information in this article applies to:
SYMPTOMSA dynamic or forward-only cursor opened with optimistic concurrency using either timestamps (OPTCC) or values (OPTCCVAL) will incorrectly hold a Sh_intent lock on the pages from which the rows were fetched. This problem occurs only if there is no unique index on the table.
WORKAROUNDTo work around this problem, create a unique index on the table.
STATUSMicrosoft has confirmed this to be a problem in Microsoft 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 INFORMATIONThis problem does not occur with keyset or insensitive cursors because they default to read-only with no unique index.
|
Additional query words: ODBC SQL_CONCUR_ROWVER SQL_CONCUR_VALUES
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |