Uncommitted read

For a SELECT INTO, a FETCH with a read-only cursor, subquery, or fullselect used in an INSERT statement, level Uncommitted Read (UR) allows:

  • Any row read during the unit of work to be changed by other activation groups that run under a different commitment definition.
  • Any row changed (or a row that is currently locked with an UPDATE row lock) by another activation group running under a different commitment definition to be read even if the change has not been committed.

For other operations, the rules of level CS apply.

In the SQL 2003 Core standard, Uncommitted Read is called Read Uncommitted.

Db2® for i supports uncommitted read through COMMIT(*CHG) or COMMIT(*UR).