16.10 - Dropping a Table - Teradata Database

Teradata Database Administration

Product
Teradata Database
Release Number
16.10
Published
April 2018
Language
English (United States)
Last Update
2018-04-26
dita:mapPath
qjg1509413559832.ditamap
dita:ditavalPath
changebar_rev_16_10_exclude_audience_ie.ditaval
dita:id
ujp1472240543947

Use one of the following statements to drop a table:

Table You Want To Remove Statement To Use
Permanent data table DROP TABLE.

Dropping a table does not delete the views, macros, functions or stored procedures that referenced the dropped table. You need to explicitly drop or alter the reference.

You cannot drop a table defined with a trigger, hash index, or join index. First drop the index or trigger and then drop the table.

Materialized global temporary table, before session end DROP TEMPORARY TABLE.
Teradata Database automatically drops all materialized temporary tables at session end.
Volatile table before session end DROP TABLE.
Global temporary table definition DROP TABLE.