15.10 - table_name - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

Product
Teradata Database
Release Number
15.10
Published
December 2015
Content Type
Programming Reference
Publication ID
B035-1144-151K
Language
English (United States)

Name of the base table or queue table to be dropped.

The table_name specification cannot identify a journal table.

If the table to be dropped has triggers, hash indexes, or join indexes associated with it, you must first drop those triggers, hash indexes, and join indexes else the request aborts.

database_name
user_name
Name of the containing database or user for the specified base table or queue table.
This specification is required only if the table to be dropped is contained in a different database than the current database.

Example: Dropping a Table

This request drops a table named order_ids.

     DROP TABLE order_ids;