Oracle Database Delete
Use this activity to execute an SQL DELETE on Oracle Database connection. The Oracle Database Delete activity returns information in the form of rows affected.
Input Settings
The Input Settings tab has the following fields:
Field | Description |
---|---|
Delete Statement | An SQL statement used to delete records from a table. You construct prepared SQL queries by using substitution variables (or parameters) of the form ? in the delete statement. Each substitution variable identifies an input parameter whose mapped value will be substituted in the substitution variable at runtime. User can reuse the substitution variable for the same input parameter elsewhere in the delete query.
The type information for the input parameters used in the WHERE clause is fetched from the database using the selected Oracle Database connection for the entered delete query. Input and output fields in the Input and Output tabs of the activity are also populated based on the SQL DELETE statement. Be sure to include the semicolon (;) at the end of the query. This activity expects a query to end with a semicolon to indicate the end of the query. A missing semicolon at the end of the query results in the query hanging. Examples of DELETE query:
|
Manually Configure Metadata | When schema retrieval fails due to non standard SQL, use Manually Configure Metadata. For more information, see Using Manually Configure Metadata Option. |
Table Schema | Displays the metadata of the SQL delete statement. You can modify the column metadata if Manually Configure Metadata is set to True. |
Input
The Input tab displays the input schema of the activity as a tree structure. The schema varies according to the object that you selected on the Input Settings tab. You can provide the input values in the Flogo Connector for mapping input fields directly or use Mapper to map the input values to a field from the output of a preceding activity in the flow.