- Procedure StartTransaction(IsolationLevel)
By default, AIMMS places a transaction around any single
statement to a database table. In this way, AIMMS makes sure that the
WRITE statement can be rolled back in the event of a
database error during the execution of that
WRITE statement. With
StartTransaction you can manually initiate a database
transaction which can contain multiple
and SQL queries.
StartTransaction( IsolationLevel ! (optional) an element expression )
Element value into the set
AllIsolationLevels, indicating the isolation level at which the transaction has to take place. If omitted, defaults to
The procedure returns 1 if the transaction was started successfully, or 0 otherwise.