select .. WITH UR ignores locks and gives only currently committed data
how to read data that are not committed ?
as in Oracle :
update table set ..
select .. gives modified and yet uncommitted data
select .. WITH UR ignores locks and gives only currently committed data
how to read data that are not committed ?
as in Oracle :
update table set ..
select .. gives modified and yet uncommitted data
Data that is not commited cannot be read by other transaction, the only way to retrieve that data is in the transaction that is modifying the data.
For more information about isolation and concurrency in DB2, please take a look at this tutorial: http://www.ibm.com/developerworks/data/tutorials/db2-cert6106/