This node allows a user to create a new database table either manually or based on the specification of a KNIME input data table. 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.
Connect a KNIME data table to use its specification to create the new database table. It is no longer possible to directly add or modify columns and keys in this mode, but column types and keys can be set dynamically instead. While in dynamic settings mode the "Columns" and "Keys" section become read-only to allow you a preview of the dynamic settings.
In the Name-Based SQL Type Mapping, a user can define the default SQL type mapping for a set of columns based on the column names. Use the "Add" button to add a new row containing the name pattern of the columns that should be mapped. The name pattern can either be a string with wildcard or a regular expression. 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.
In the KNIME-Based SQL Type Mapping, a user can define the default SQL type mapping based on KNIME data type. The mappings defined in the KNIME-Based SQL Type Mapping have a lower priority than the mappings defined in the Name-Based SQL Type Mapping.
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.
To use this node in KNIME, install the extension KNIME Database from the below update site following our NodePit Product and Node Installation Guide:
A zipped version of the software site can be downloaded here.
Deploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!