BUG: UPDATE on Cursor Without Unique Index Fails with Message 16934ID: Q178298
|
Updates using a positioned cursor (such as UPDATE WHERE CURRENT OF) that is
declared with a join clause where ALL tables in the join do NOT have unique
indexes, may cause the following error:
Msg 16934, Level 16, State 7
Optimistic concurrency check failed, the row was modified outside of
this cursor.
To work around this problem, ensure that all tables referenced in the DECLARE CURSOR statement have a unique index.
Microsoft has confirmed this to be a problem in 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.
Keywords : SSrvTran_SQL kbbug6.50
Version : WINNT:6.5
Platform : winnt
Issue type : kbbug
Last Reviewed: April 21, 1999