DB Table Remover

This node removes a table with the given name from the database described by the incoming DB Connection. This is usually done by executing the SQL command drop.

Options

Schema
The optional database schema name.
Table
The name of the table to remove.
Select a table

Click on the button to open the Database Metadata Browser which allows you to browse the database metadata and to select a table or view. At first opening it fetches the metadata from the database and caches it for subsequent use.

The Database Metadata Browser allows you to browse the database metadata and to select a table or view. Click the Refresh button at the bottom right to re-fetch the metadata from the database. The data is grouped by database schema and type e.g. view or table. By clicking on an entity it shows contained elements. If you click on a table or view the dialog will fetch the column names and types of the selected element. 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 enter the name or parts of the name into the search field and click on the Magnifying Glass button or press enter.

Cascade
Select this option to remove the table even if it is referenced by other objects in the database e.g. foreign key references or views. Removing the table will also remove dependent objects.
The option is ignored if it is not supported by the database e.g. DB2, Hive, Impala or SQLite.
Fail if table does not exist
Select this option to have the node fail if the table does not exist in the database. If this option is not selected the node executes successfully even if the table does not exist in the database.

Input Ports

Icon
DB Connection to connect to the database.

Output Ports

Icon
Input DB Connection.

Popular Predecessors

Views

This node has no views

Workflows

Links

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.