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?
Cet exercice fait partie du cours
Transactions and Error Handling in SQL Server
Exercice interactif pratique
Passez de la théorie à la pratique avec l’un de nos exercices interactifs
