Function ensure_snapshot_isolation_enabled

Source
pub async fn ensure_snapshot_isolation_enabled(
    client: &mut Client,
) -> Result<(), SqlServerError>
Expand description

Ensure the SNAPSHOT transaction isolation level is enabled for the database the provided client is currently connected to.

See: https://learn.microsoft.com/en-us/sql/t-sql/statements/set-transaction-isolation-level-transact-sql?view=sql-server-ver16