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?
This exercise is part of the course
Transactions and Error Handling in SQL Server
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
