Skip to content

Execute SQL Statement

Function Description

TIP

Execute SQL statements such as Insert, Update, Delete in the specified database

Execute SQL Statement

Configuration Item Description

General

Command Input

  • Database Connection ObjectTDatabase: Enter the database connection object

  • SQL Execution Statementstring: Enter the SQL execution statement

Command Output

  • Rows AffectedInteger: Specify a variable name that will store the number of rows affected by the database execution

Advanced

  • Delay Before(milliseconds)Integer: The waiting time before instruction execution

Error Handling

  • Print Error LogsBoolean: Whether to print error logs to the "Logs" panel when the command fails. Default is checked.

  • Handling MethodInteger:

    • Terminate Process: If the command fails, terminate the process.

    • Ignore Exception and Continue Execution: If the command fails, ignore the exception and continue the process.

    • Retry This Command: If the command fails, retry the command a specified number of times with a specified interval between retries.

Usage Example

Process logic description:

Common Errors and Handling

None

Frequently Asked Questions

None