I want the default Transaction Isolation level to be SNAPSHOT.
How do I set this on a SQL Server 2016 database?
snapshot-isolationsql serversql-server-2016
I want the default Transaction Isolation level to be SNAPSHOT.
How do I set this on a SQL Server 2016 database?
Best Answer
It is not possible to configure Snapshot Isolation (SI) as the default isolation level.
To use SI, the database must be enabled for Snapshot Isolation:
Then each connection must explicitly request SI, using for example:
It is possible to set the default Read Committed isolation level to use row versioning (RCSI).
If Read Committed Snapshot Isolation (RCSI) is sufficient for your purposes, the setting is:
Further reading: