March 2012
Intermediate to advanced
442 pages
9h 31m
English
DB2 9.7 provides ways to execute and commit a block of SQL statements independent of the outcome of invoking a transaction. For example, if transaction A invokes transaction B, which is AUTONOMOUS in nature, transaction B commits its work even if transaction A fails.
This feature enables application portability from any RDBMS that supports AUTONOMOUS transactions to DB2 9.7.
Let's understand the concept and the usage part of the AUTONOMOUS transaction with an example.
In an organization, the HR director wants to make sure all the salary updates are captured for audit purposes. To fulfill this request, the application developer provides an AUTONOMOUS -based code to capture the salary updates and the HR ...
Read now
Unlock full access