NodeDB Table Creator

Source

This node allows a user to create a new database table either manually or based on the specification of a KNIME input data table (see "Use dynamic settings" below). The node supports advanced options such as null or not null, primary key or unique keys, default SQL type mapping based on column name or KNIME data type, and default key definitions based on column names.

Tick the "Use dynamic settings" option to enable the dynamic settings behavior. Once enable it allows to dynamically define the SQL type of the columns as well as the assignment of columns to primary or unique keys. All dynamic settings which are made via the "Dynamic Type Settings" and "Dynamic Column Settings" tab are applied to the data table specification of the input data table.
The mappings defined in the Name-Based SQL Type Mapping have a higher priority than the mappings defined in the KNIME-Based SQL Type Mapping. If no mapping is defined in both Name-Based SQL Type mapping and KNIME-Based SQL Type Mapping, then the default mapping is used.
While in dynamic settings mode the "Columns" and "Keys" tab become read-only to allow you a preview of the dynamic settings.

Input ports

  1. DB Connection Type: DB Session
    DB Connection to connect to the database.
  2. Data table (optional) Type: Data
    An optional KNIME data table whose data table specification should be used to create the new database table.

Output ports

  1. DB Connection Type: DB Session
    The input DB Connection including flow variables with the schema and table name of the new created database table.