odbcSetTransactionIsolationLevel: Set the Transaction Isolation Level for a Connection

Description Usage Arguments See Also Examples

View source: R/Connection.R

Description

Set the Transaction Isolation Level for a Connection

Usage

1

Arguments

conn

A DBIConnection object, as returned by dbConnect().

levels

One or more of \Sexpr[stage=render, results=rd]{odbc:::choices_rd(names(odbc:::transactionLevels()))}.

See Also

https://docs.microsoft.com/en-us/sql/odbc/reference/develop-app/setting-the-transaction-isolation-level

Examples

1
2
3
4
5
6
7
8
## Not run: 
  # Can use spaces or underscores in between words.
  odbcSetTransactionIsolationLevel(con, "read uncommitted")

  # Can also use the full constant name.
  odbcSetTransactionIsolationLevel(con, "SQL_TXN_READ_UNCOMMITTED")

## End(Not run)

odbc documentation built on Dec. 11, 2021, 9:31 a.m.