Chapter Contents |
Previous |
Next |
READ_ISOLATION_LEVEL= |
Default value: | Provider specifies |
Alias: | RIL= |
Option type: | LIBNAME and Data set |
Syntax | |
Details |
Syntax |
READ_ISOLATION_LEVEL=S | RR | RC | RU |
S = Serializable | |
RR = Repeatable Read | |
RC = Read Committed | |
RU = Read Uncommitted |
Details |
The degree of isolation identifies
The READ_ISOLATION_LEVEL= option applies only when reading a DBMS table or view. By default, this option is not set. The provider sets the default value. If READ_LOCK_TYPE= is not set to ROW, then READ_ISOLATION_LEVEL= is ignored .
OLE DB supports five isolation levels. The isolation levels are defined in terms of several possible occurrences:
For example, suppose that transaction T1 performs an update on a row, transaction T2 then retrieves that row, and transaction T1 then terminates with rollback. Transaction T2 has then seen a row that no longer exists.
For example, suppose that transaction T1 retrieves a row, transaction T2 then updates that row, and transaction T1 then retrieves the same row again. Transaction T1 has now retrieved the same row twice but has seen two different values for it.
For example, suppose that transaction T1 retrieves the set of all rows that satisfy some condition. Suppose that transaction T2 then inserts a new row that satisfies that same condition. If transaction T1 now repeats its retrieval request, it will see a row that did not previously exist, a phantom.
The isolation levels for READ_ISOLATION_LEVEL= include the following:
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.