OC TRANSACT COMMAND

4D - Documentation   Français   English   German   4D ODBC, Command Theme List   4D ODBC, Command Alphabetical List   Back   Previous   Next

version 1.5


OC TRANSACT COMMAND (login_ID; cursor_ID; commit/Rollback)

ParameterTypeDescription
login_IDLongintLogin ID
cursor_IDLongintCursor ID
commit/RollbackBooleanFalse = Commit, True = Rollback

Description

The OC TRANSACT COMMAND command commits or rolls back a transaction.

To use transactions, you must first set the connection to manual-commit mode using the OC Set login option.

Some data sources do not support transactions at all, while others place restrictions on what kind of statements can be included in a transaction. To find out what kind of transaction processing a data source supports, use OC Get info to obtain the SQL_TXN_CAPABLE value.

See Also

OC Set login option.


4D - Documentation   Français   English   German   4D ODBC, Command Theme List   4D ODBC, Command Alphabetical List   Back   Previous   Next