Setting READ COMMITTED SNAPSHOT to ON
The default isolation level of your database is READ COMMITTED
. You made some scripts that were supposed to be run under the READ COMMITTED
isolation level.
Now, you want every script you already made to be run with the READ COMMITTED SNAPSHOT
option set to ON
. In doing this, each statement under the READ COMMITTED isolation level will see the committed changes that occur before the start of each statement.
Which options do you need to set in your database?
Este exercício faz parte do curso
Transactions and Error Handling in SQL Server
Exercício interativo prático
Transforme a teoria em ação com um de nossos exercícios interativos
