Is there a transaction isolation level equivalent to the READCOMMITTEDLOCK table hint?

155 Views Asked by At

The documentation makes it clear that you can use the READCOMMITTEDLOCK table hint to get the default SET TRANSACTION ISOLATION LEVEL READ COMMITTED behaviour when the non-default READ_COMMITTED_SNAPSHOT option is enabled. Is there a transaction isolation level equivalent to this? That is, when the READ_COMMITTED_SNAPSHOT option is enabled, is there a transaction isolation level that would let me act if it is disabled and I'm running under a READ COMMITTED isolation level?

1

There are 1 best solutions below

0
David Browne - Microsoft On BEST ANSWER

when the READ_COMMITTED_SNAPSHOT option is enabled, is there a transaction isolation level that would let me act if it is disabled and I'm running under a READ COMMITTED isolation level?

No. But REPEATABLE READ and SERIALIZABLE will force reading with S locks.