DROP TABLE | SQL Statements | Teradata Vantage - DROP TABLE - Teradata Vantage - Analytics Database

SQL Data Definition Language Syntax and Examples

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2025-11-06
dita:mapPath
jco1628111346878.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
mdr1472255012272
lifecycle
latest
Product Category
Teradata Vantageā„¢

Drops the definition for a specified table from the Data Dictionary and from the containing database or user, depending on the keyword specified.

You can drop a base table or materialized global temporary table, depending on the keyword specified.

Keyword Specified Database Object Dropped
TABLE Base table definition and all table rows.

The definition of a base table is restricted to persistent base tables, queue tables, and volatile tables. Also, drops definition of global temporary table (if TEMPORARY keyword is not specified).

To drop a materialized global temporary table, you must specify the keyword TEMPORARY.

TEMPORARY TABLE Materialized global temporary table.

To drop a data table that has an associated error table, you must first drop its error table. See DROP ERROR TABLE.

ANSI Compliance

DROP TABLE is ANSI SQL:2011-compliant.

Required Privileges

You must have the appropriate DROP privilege on the specified base table or queue table.

You do not need the DROP privilege to drop materialized global temporary or volatile tables.