The information in this article applies to:
The following information describes what happens when a SELECT is done with HOLDLOCK. If you do a SELECT with HOLDLOCK within a transaction and get no hits, either an index page or the whole table will be locked until commit. If the optimizer used a unique index to process the select, the index page where the missing item belongs will be locked. If the optimizer did not use a unique index to process the query, the entire table will be locked. Additional query words: Transact-SQL
Keywords : kbprg SSrvServer |
Last Reviewed: March 9, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |