Lock Granularity Hints
You can use to lock granularity hints to override the lock granularity selected by the Query Optimizer:
ROWLOCK—You can use this option to force the Lock Manager to place a row-level lock on a resource instead of a page-level or a table-level lock. You can use this option in conjunction with the XLOCK
lock type hint to force exclusive row locks.
PAGLOCK—You can use this option to force a page-level lock on a resource instead of a row-level or table-level lock. You can use this option in conjunction with the XLOCK
lock type ...
Get Microsoft® SQL Server 2012 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.