📜 ⬆️ ⬇️

Short cheat sheet on locks when reading and changing data depending on the transaction isolation level in MSSQL

Read Uncommitted



Read Committed + read_committed_snapshot off
')
(alter database xxx set read_committed_snapshot off)





Read Committed + read_committed_snapshot on

(alter database xxx set read_committed_snapshot on)


Repeatable Read



Serializable



Snapshot
(alter database xxx set allow_snapshot_isolation on)



It was checked on MSSQL 2014.

Source: https://habr.com/ru/post/305600/


All Articles