0 ×

DB Query

KNIME databases nodes version 0.9.0.v201807081650 by KNIME AG, Zurich, Switzerland

Modifies the input SQL query from a incoming database connection. The SQL query is represented by the place holder #table# and will be replaced during execute. The new database connection is then available at the out-port. The database connection settings itself are not modified.

Options

SQL Statement
Enter a new database query. Don't remove the #table# place holder which represents the incoming SQL statement.
Additional SQL commands (create, drop, set parameter, etc.) can be added before the actual SELECT statement and are executed together, line-by-line during configure and execute. Note, those additional SQL commands need to be separated by semicolon.
Database Metadata Browser
The Database Metadata Browser allows you to browse the database metadata and to select a table or view. Click the Refresh button to re-fetch the metadata from the database. The data is grouped by type. By clicking on an entity it shows contained elements. To select a table or view select the name and click OK or double click the element. To search for a particular table or view name enter the name or parts of the name into the search field and click Search. The drop down box allows you to further narrow down the result by type e.g. schema or table. To reset the search filter click Reset.
Database Column List
The list contains the columns that are available in the connected database table. Double clicking any of the entries will insert the respective identifier at the current cursor position (replacing the selection, if any).
Flow Variable List
The list contains the flow variables that are currently available at the node input. Double clicking any of the entries will insert the respective identifier at the current cursor position (replacing the selection, if any).

Input Ports

Icon
Database data connection

Output Ports

Icon
Database data connection with wrapped SQL query

Best Friends (Incoming)

Best Friends (Outgoing)

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.