Skip to content
Tag

withnolock

1 article

Read as a book
With(NoLock) vs With(ReadPast)
Sql Server Sep 17, 2026 2 min read EN VI

With(NoLock) vs With(ReadPast)

WITH (NOLOCK) and WITH (READPAST) are SQL Server table hints that manage concurrency differently — NOLOCK reads uncommitted (dirty) data, while READPAST skips locked rows, avoiding dirty reads but potentially missing data. With(NoLock) v...

By Huy Vũ