action SQL statements are supported. SQL statements that can return results are not supported.
Required Parameters
- driver: The JDBC driver class name in the cross-platform edition or the ADO.NET provider name in the .NET edition.
- conn: The connection string or database URL.
- query: The SQL query string. Only the following SQL statements are supported: (CREATE, ALTER, DROP, INSERT, UPSERT, UPDATE, DELETE).
Optional Parameters
- commandtimeout: CommandTimeout, in seconds, for the operation to complete. Zero (
0) means no timeout. The default is60. - paramname#: The parameter names.
- paramvalue#: The parameter values.
- paramtype#: The parameter types.
- transactionid: The Id of the transaction. This parameter is used in conjunction with the dbBeginTransaction and dbEndTransaction operations.
- querypassthrough: Pass the query to the operation as-is instead of performing client-side validation and syntax correction.
- enforceparameterizedquery: Boolean (true/false) used to enforce the parameterized verification for the SQL statement. The default is
true.
Output Attributes
- db:affectedrows: The number of rows affected as a result of the query.
- db:result: The status of the query execution.