Detailed Description of SQL Execute

Executes a defined SQL command/procedure call over the input data and writes its output values. This step performs some write-like SQL commands for each input row. It provides attributes to affect batch size and commit size.

Usage notes

Parameter processing

The SQL command uses a special form for parameter definition. The general syntax is:

$[direction]{columnName}

where direction is one of following:

The name of an input column must be given as columnName, otherwise the step will report an error.

Since '$' has special meaning here, care must be taken when using this character. If it is required to use '$' in its original meaning, it must be "escaped" by doubling its value (putting $$ into the SQL command). Note that this doubling must be done in the whole SQL query (in strings, comments etc.), otherwise the SQL query compilation will fail due to missing or invalid parameter definitions, etc.

Note: It is not recommended to put comments and other unnecessary parts in the SQL command since it may become unparsable for JDBC drivers (they may not support these items).Parameter types


iWay Software