You use this statement to execute a stored procedure.
Format of EXECUTE Statement
<StatementName>
<storedProcedureName action=" EXECUTE">
<table>realStoredProcedureeName</table>
<param1 [isInput="true"] [isOutput=true] type=SQLDatatype>val1</param1>
</storedProcedureName >
</StatementName>
This enables you, for example, to define stored procedure names that contain non-XML-compatible characters or characters that stop them from being used in interface definitions in the Integration Builder.
If both attributes are missing, the element is interpreted as an input parameter.
The parameter names must be identical to those of the stored procedure definition.
It describes the valid SQL data type.
The following SQL data types are supported:
INTEGER, BIT, TINYINT, SMALLINT, BIGINT, FLOAT, REAL, DOUBLE, NUMERIC, DECIMAL, CHAR, VARCHAR, STRING, LONGVARCHAR, DATE, TIME, TIMESTAMP, BINARY, VARBINARY, LONGVARBINARY, BLOB (input and output), CLOB (input and output), CURSOR (output; only in connection with the Oracle JDBC driver)
The binary data for BLOB is hexadecimal encoded.
All return values are returned in an XML structure. The results within the stored procedure are returned either as a table or as the element <update_count>. This depends on the SQL statements executed within the stored procedure. The return parameters of a stored procedure are appended in a separate structure.