Skip to main content
Version: Next

START TRANSACTION

START TRANSACTION

Does not require any parameters

Description

START TRANSACTION starts a transaction in the current process. All changes to the data (records) of the database within the transaction are stored temporarily until the transaction is accepted (validated) or canceled.

Beginning with version 11 of 4D, you can nest several transactions (sub-transactions). Each transaction or sub-transaction must eventually be cancelled or validated. Note that if the main transaction is cancelled, all the sub-transactions are cancelled as well, regardless of their result.

See also

CANCEL TRANSACTION
In transaction
Transaction level
Using Transactions
VALIDATE TRANSACTION

Properties

Command number239
Thread safe