odbcSetTransactionIsolationLevel | R Documentation |
Set the Transaction Isolation Level for a Connection
odbcSetTransactionIsolationLevel(conn, levels)
conn |
A DBI::DBIConnection object,
as returned by |
levels |
One or more of 'read_uncommitted', 'read_committed', 'repeatable_read', 'serializable'. |
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.