[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'SQLDB' (#fcl)


Control automatic handling of the COMMIT command.


Source position: sqldb.pp line 755

published property TSQLScript.UseCommit;


UseCommit can be set to True to let TSQLScript automatically handle the commit command as a directive. If it is set, the COMMIT command is registered as a directive, and the TSQLScript.Transaction will be committed and restarted at once whenever the COMMIT directive appears in the script.

If this property is set to False then the commit command will be passed on to the SQL engine like any other SQL command in the script.

See also



Transaction to use in the script



List of directives

Documentation generated on: May 14 2021