Executes a SQL script. This operation takes the SQL script and processes each statement in the database using JDBC.
Please note that the statements in the SQL files must be delimited by a semi-colon. Also this operation does not support the execution of Oracle PL/SQL statements (See runPLSQLScript
operation).
Environment/Instance Properties
Property Name | Property Code | Required | Description |
---|---|---|---|
JDBC URL |
| Yes | The JDBC URL of the database. |
JDBC User |
| No | The username that will be used to connect with. |
JDBC Password |
| No | The password of the username. |
JDBC Driver Path |
| Yes | Classpath for locating the JDBC Driver (e.g. for Weblogic - {ORACLE_HOME}/oracle_common/modules/ oracle.jdbc_11.2.0/ojdbc6.jar). |
Project Properties
Property Name | Property Code | Required | Description |
---|---|---|---|
Inputs
Input Name | Input Code | Required | Description | ||||
---|---|---|---|---|---|---|---|
User |
| No | The username that will be used to connect with. This input takes precedence over the environment instance scoped | ||||
Password |
| No | The password for | ||||
Script File |
| Yes | The path to the script to execute. If a relative path is given, the path will be assumed to be in the | Run Destructive |
| No | This option allows destructive statements to be run. See Special Considerations below. |
Outputs
Output Name | Required | Description |
---|---|---|
Artifacts
This operation consumes one or more SQL files, and an optional sequence file, from the artifacts repository.
Endpoint Selection
This operation will select all available endpoints associated to the environment/instance.
Endpoint Execution
This operation will randomly execute on one of the endpoint identified during selection.
Special Considerations Anchor specialconsiderations specialconsiderations
specialconsiderations | |
specialconsiderations |
The statements in the SQL files must be delimited by a semi-colon. Also note that this operation does not support the execution of Oracle PL/SQL statements (See runPLSQLScript
operation).
...
The !SEQ
line (must be the first line) at the top of the file indicates a sequence file. After the sequence line, an ordered list of files to run follows.
Replacement Properties
See Appendix.