Access Mode
The two database access modes for transactions are READ WRITE and READ ONLY.
-
If the access mode is
READ WRITE, operations in the context of this transaction can be both read operations and data update operations.This is the default mode. -
If the access mode is
READ ONLY, onlySELECToperations can be executed in the context of this transaction.Any attempt to change data in the context of such a transaction will result in database exceptions.However, this does not apply to global temporary tables (GTT), which are allowed to be changed inREAD ONLYtransactions, see Global Temporary Tables (GTT) in [fblangref50-ddl] for details.