DROP EXTERNAL TABLE
Removes an external table definition.
DROP EXTERNAL [WEB] TABLE [IF EXISTS] name [CASCADE | RESTRICT]
DROP EXTERNAL TABLE drops an existing external table definition from the database system. The external data sources or files are not deleted. To execute this command you must be the owner of the external table.
Optional keyword for dropping external web tables.
Do not throw an error if the external table does not exist. A notice is issued in this case.
The name (optionally schema-qualified) of an existing external table.
Automatically drop objects that depend on the external table (such as views).
Refuse to drop the external table if any objects depend on it. This is the default.
Remove the external table named
staging if it exists:
DROP EXTERNAL TABLE IF EXISTS staging;
There is no
DROP EXTERNAL TABLE statement in the SQL standard.