Dropping a database object

The DROP statement deletes an object. Depending on the action requested, any objects that are directly or indirectly dependent on that object might also be deleted or might prevent the drop from happening.

For example, if you drop a table, any aliases, constraints, triggers, views, or indexes associated with that table are also dropped. Whenever an object is deleted, its description is deleted from the catalog.

For example, to drop table EMPLOYEE, issue the following statement:

DROP TABLE EMPLOYEE RESTRICT