Learn R Programming

odbc (version 1.3.5)

odbcSetTransactionIsolationLevel: Set the Transaction Isolation Level for a Connection

Description

Set the Transaction Isolation Level for a Connection

Usage

odbcSetTransactionIsolationLevel(conn, levels)

Arguments

conn

A DBIConnection object, as returned by dbConnect().

levels

One or more of odbc:::choices_rd(names(odbc:::transactionLevels())).

See Also

Examples

Run this code
if (FALSE) {
  # 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")
}

Run the code above in your browser using DataLab