Database Join
The data grid in the transform properties dialog. This allows you to select the data coming in from the source hop. As question marks (?) in the SQL query. When the transform runs, these will be replaced with data coming in from the fields defined from the data grid. The question marks will be replaced in the same order as defined in the data grid. For example, Database Join allows you to run queries looking up the oldest person who bought a specific product as shown below:
The grid is then defined as follows:
When the transform runs, the (?) placeholder defined in the SQL query will be replaced with the incoming productnr field value from the source hop. To define and use multiple parameters, list the fields in order you want them to be replaced in the SQL statement.
Options
Option | Description |
---|---|
Name of the transform; This name has to be unique in a single pipeline | |
Connection | The database connection to use for the query. |
SQL | |
Number of rows to return | Zero (0) returns all rows; any other number limits the number of rows returned. |
Outer join? | Enable to always return a result, even if the query did not return a result |
Specify the fields containing parameters. The parameter type is required. |