The SQL transformation input and output ports correspond to the input and output parameters in the stored procedure.
When you import a stored procedure, the Developer tool determines the database type from the database connection. It generates input and output ports in the SQL transformation from the parameters in the stored procedure. The Developer tool determines the native datatype of each port from the parameter of the stored procedure.
When you manually configure the SQL transformation, you need to configure the input and the output ports in the transformation. When you configure the database type, the SQL transformation changes the native datatype for each port based on the database type that you enter.
The following types of data can pass between the SQL transformation and the stored procedure:
Input and output parameters
The SQL transformation sends parameters to the stored procedure and the SQL transformation receives parameters from the stored procedure in the input and output ports.
Return value
If the stored procedure passes a return value, the Developer tool creates a Return Value port.
SQL errors
The SQL transformation returns errors from the stored procedure in the SQLError port.