The information in this article applies to:
BUG# NT: 12291 (6.00) SYMPTOMSSelecting a row inside a user-defined transaction using the optimizer hint UPDLOCK results in two pages being locked. The update statement locks only one page. WORKAROUND
You can use a dummy update instead of the optimizer hint UPDLOCK. This
would ensure that the page is locked and guarantee read consistency.
Replace this with:
STATUSMicrosoft has confirmed this to be a problem in Microsoft SQL Server Version 6.0. This problem has been corrected in U.S. Service Pack 3 for Microsoft SQL Server version 6.0. For more information, contact your primary support provider. MORE INFORMATION
When you perform a select on a table with the row size padded out to one
row per page, SQL Server obtains an update_page lock on two different pages
when the optimizer hint UPDLOCK is used - one on the page actually being
updated and the other on the next page in the page chain.
Keywords : kbprg SSrvLock kbbug6.00 kbfix6.00.sp3 |
Last Reviewed: March 24, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |