SQL Flow Field Guide

TABLE HINT READCOMMITTEDLOCK

Catalog support for SQL Server 2022 (16.x) and 2025 (17.x)

Specifies that read operations comply with the rules for the READ COMMITTED isolation level by using locking.

What changes

Input
none
Output or change
none

Syntax at a glance

WITH ( READCOMMITTEDLOCK )

Work example

A concurrency rule needs a review of TABLE HINT READCOMMITTEDLOCK because it can change locking or version visibility.

Test two concurrent sessions with the expected transaction boundaries. Record blocking, deadlocks, and the rows each session can see.

Check your work TABLE HINT READCOMMITTEDLOCK. The concurrency test for TABLE HINT READCOMMITTEDLOCK matches the required isolation rule and has a bounded lock duration.

Open Microsoft Learn for full syntax, permissions, and details for your version.