Inserts data rows into the selected database table based on the values from the selected KNIME input table columns. All selected column names need to exactly match the column names within the database table. The column order of the KNIME table and the database table do not need to match.
The output table contains two additional columns if the Append insert statuses checkbox is checked. The first extra column is the number of rows affected by the INSERT statement. A number greater than or equal to zero -- indicates that the command was processed successfully and is an insert count giving the number of rows in the database that were affected by the command's execution. A value of -2 -- indicates that the command was processed successfully but that the number of rows affected is unknown. The second shows a warning message, if any.
- Type: Data KNIME data table with the data rows to be inserted into the database.
- Type: DB Session DB Connection to the database.
- Type: Data Input KNIME data table with additional columns providing the number of affected rows in the database and warnings, if checked in the dialog.
- Type: DB Data DB Data referencing the selected database table.