Isolation Level (Microsoft Windows)
Use
SAP DB allows concurrent transactions on database objects. To do this, it uses a lock concept that creates locks on rows and tables to contain individual transactions. The lock operation type plays an important role in this. This is determined by defining an isolation level.
Use the Isolation Level option if you want to change the system default value for the lock operation type (Committed). The value defined in this way then applies for all connections of the data source.
The set lock operation type can be overridden by the application using the function SQLSetConnectAttr and queried with SQLGetConnectAttr.
Overview of the possible lock operation types
Dirty Read |
Non-repeatable Read |
Phantom Read |
|
Uncommitted |
x |
x |
x |
Committed |
x |
x |
|
Repeatable |
x |
||
Serializable |
The lock operation type
Procedure
Result
The next time that you log on to the database server using this data source, the SAP DB ODBC driver functions with the selected lock operation type.