Database Delete (legacy)

Sink

This node is part of the legacy database framework. For more information on how to migrate to the new database framework see the migration section of the database documentation.

Deletes data rows in the database based on the selected columns from the input table. All selected column names need to exactly match the column names inside the database. Only the rows matching the values of the selected column will be deleted.

The output table contains an additional column with the number of rows affected by the DELETE statement. A number greater than or equal to zero -- indicates that the command was processed successfully and is an update 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.

If the optional input is connected the database connection information is taken from the port, otherwise you need to specify the connection information in the dialog.

Make sure you have your vendor-specific database driver registered in the KNIME preference page (section Database Driver).

Input Ports

  1. Type: Data
    Table with data rows to be deleted in the database
  2. Type: Database Connection
    An optional database connection that should be used instead of providing the connection information in the dialog. (optional)

Output Ports

  1. Type: Data
    Input table with additional column providing number of affected rows in the database.

Extension

This node is part of the extension

KNIME Core

v4.0.0

Short Link

Drag node into KNIME Analytics Platform