Entering content frame

COMMIT Statement (commit_statement) 

A COMMIT statement (commit_statement) terminates the current transaction and starts a new one (see transactions.

Syntax

<commit_statement> ::= COMMIT [WORK]

Explanation

The commit statement terminates the current transaction (COMMIT).

The COMMIT statement implicitly opens a new transaction. Any locks set within the new transaction are assigned to this transaction. The setting of locks in the new transaction is controlled by the isolation level declared in the CONNECT statement (see Isolation Level).

 

Leaving content frame