skip to main content
Drivers for 32-Bit and 64-Bit Platforms : The SQL Server Legacy Wire Protocol Driver : Connection Option Descriptions : Use Snapshot Transactions
 

Try DataDirect Drivers Now
Use Snapshot Transactions

Attribute

SnapshotSerializable

Purpose

Allows your application to use the snapshot isolation level if your Microsoft SQL Server database is configured for Snapshot isolation. Supported only for Microsoft SQL Server 2005 and higher.

Valid Values

0 | 1

Behavior

When set to 1 (Enabled) and your application has the transaction isolation level set to serializable, the application uses the snapshot isolation level.
When set to 0 (Disabled) and your application has the transaction isolation level set to serializable, the application uses the serializable isolation level.
This option is useful for existing applications that set the isolation level to serializable. Using Snapshot Transactions in this case allows you to change to the snapshot isolation level with no or minimum code changes. If developing a new application, you can code it to set the connection attribute SQL_COPT_SS_TXN_ISOLATION to the value SQL_TXN_SS_SNAPSHOT.

Notes

*This connection option can affect performance.

Default

0 (Disabled)

GUI Tab

Advanced tab

See Also

See Isolation and Lock Levels Supported for details about using the snapshot isolation level.
See Performance Considerations for details