A transaction is a sequence of database operations that form a unit with regard to data backup and synchronization.
Transactions are closed with COMMIT or ROLLBACK:
Modifications terminated with COMMIT cannot be reversed with ROLLBACK.
COMMIT and ROLLBACK implicitly open a new transaction.
Locks
The database system draws a distinction between SHARE locks and exclusive locks:
Tables and table rows are locked in a transaction with a lock mode that is determined when the user logs onto the database system (
CONNECT statement) or can be set with the LOCK option.See also:
Transactions COMMIT statement ROLLBACK statement