RelationalTable Extract
This extract allows retrieval of data from a table or view of a relational database without writing a SQL query statement. It allows selecting columns with aliases, filtering with WHERE and HAVING clauses, sorting, and aggregation.
Settings
Connection | Connection to a relational database. |
Schema | The name of the schema in the relational database (if database engine supports schemas). |
Table | The name of the table in the relational database. |
Output columns | Columns that should be returned by RelationalTable extract. |
Where-filter | Operators:
|
Logical filter expression | A Boolean condition can be applied for if several filter conditions have been defined. Valid symbols are: [0-9] ( ) AND OR NOT
Examples:
If no logical filter expression is defined an AND filter is applied, i.e. 1 AND 2 AND ... AND n. |
Sorting | Elements can be sorted in ascending or descending order, with or without case sensitivity. |
Distinct | When checked, only distinct values from the source are returned. |
Aggregated columns |
Use aggregate functions from a relational source. Select the column and type of aggregation. If aggregate functions are used, the GROUP-BY statement is automatically generated from output columns table. Possible aggregations are:
* duplicated result rows are not calculated |
Having-filter | Same as Where-filter, but applied to result of aggregated columns. |
Logical filter expression | Same as logical filter expression, but applied to Having-filters. |
Query attachment | An optional part of a SQL query with additional options that are appended to the generated SQL statement.
Example: LIMIT 10 OFFSET 10 |
Use caching | If caching is activated, the complete output of the extract is temporarily stored during the first call of the extract, using an internal H2 database. Subsequent calls of the extract read directly from the cache without connecting to the underlying source system of the extract. If the extract or the underlying connection contains variables, a separate cache is build for different values of these variables.See Caching in Extracts and Transforms for more information. |
Note: if you require other SQL capabilities not covered by this extract, you either have to use a Relational extract, which allows a free SQL query statement, or you have to use separate RelationalTable extracts with subsequent changes.
Examples:
- JOIN
- UNION
- Nested SQL statements
Updated May 12, 2025