ALLOW_SNAPSHOT_ISOLATION
Allow transactions to use SNAPSHOT isolation.
- Standard
OFF- Range
- ON, OFF
- Restart needed
- Nein
- Default checked on
- SQL Server 2025
Was es bewirkt
SNAPSHOT gives a transaction-wide consistent view and detects update conflicts (error 3960). Unlike READ_COMMITTED_SNAPSHOT, sessions must opt in with SET TRANSACTION ISOLATION LEVEL SNAPSHOT.
Standardwert
OFF. OFF for new user databases (SQL Server 2025); master and msdb have it ON.
Check the current value
SELECT name, snapshot_isolation_state_desc FROM sys.databases WHERE name = DB_NAME();
Change it
ALTER DATABASE CURRENT SET ALLOW_SNAPSHOT_ISOLATION ON;
No restart; the switch waits for active transactions to finish.
When to change it
For reports that need a consistent view across several statements without blocking writers.
What can go wrong
Row versioning overhead on every update even if no session uses SNAPSHOT.
Questions about ALLOW_SNAPSHOT_ISOLATION
What is the default value of ALLOW_SNAPSHOT_ISOLATION in SQL Server?
OFF. OFF for new user databases (SQL Server 2025); master and msdb have it ON.
Does changing ALLOW_SNAPSHOT_ISOLATION require a restart?
No. No restart; the switch waits for active transactions to finish.
When should I change ALLOW_SNAPSHOT_ISOLATION?
For reports that need a consistent view across several statements without blocking writers.
Back to all SQL Server settings, or check the SQL Server manual for every option.
Check ALLOW_SNAPSHOT_ISOLATION on your own server
SQLly runs the query above against SQL Server and the other engines in this reference, from one desktop app on macOS, Windows and Linux.