CommitTransaction

The CommitTransaction function is a local transactions function that is used in SQL operations.

You use this function to commit the changes to the database. If the RollbackTransaction() function is not called, the CommitTransaction() function commits the changes to the database. If the RollbackTransaction() is called, the changes are undone and an internal flag is set to Auto Commit any future SQL operations.

You must always call the CommitTransaction() function to complete a transaction even if the RollbackTransaction() function is called.

For more information about the local transactions functions, see Using local transactions in a policy

Arguments

The CommitTransaction() function takes no arguments.

Note: The ObjectServer does not support the use of the CommitTransaction function.