AnyDAC
ContentsIndexHome
PreviousUpNext
TADScriptOptions.CommitEachNCommands Property

Specifies the number of SQL commands, after which a COMMIT must be performed.

Group
Links

Set CommitEachNCommands to the number of SQL commands, after which the script engine will perform COMMIT. Set this property to 0 to enable auto-commit mode, where each SQL command will be committed. The default value is 0. 

The property may be set from a script using SET AUTOCOMMIT N command.

property CommitEachNCommands: Integer;

TADTxOptions.AutoCommit

What do you think about this topic? Send feedback!