Each parameter must specify the parameter's data type, the database's driver type, and the parameter's direction (whether the variable is being used in the "where" clause of the SQL statement, getting data out of the database, or both).
In most cases, you will create at least one input parameter and at least one output parameter for each SQL Action. The input parameter(s) must be listed before the output parameter(s).
The use of up to 99 parameters is supported.
The parameters are the placeholders (for runtime values) used when writing out the SQL Statement in the SQL Access object's editor. You define the runtime values in the Ruleset or Business Process when you specify input and output values for the SQL Access object.
Example Parameters
- TradingPartnerCode - Used in the SQL statement and the Ruleset to pass in the Trading Partner Code value for comparison
- InternalUPC - Not used in the SQL statement itself, but used in the Ruleset to map the output UPC to the target document
In this example, the SQL Access editor's Parameters area would look like this:
Name | Type | Jdbc Type | Direction |
---|---|---|---|
TradingPartnerCode | String | * | In |
InternalUPC | String | * | Out |
* Select the value that matches your own database.
Comments
0 comments
Please sign in to leave a comment.