DROP TABLE
Attention
This page documents an earlier version. Go to the latest (v2.3) version.Synopsis
Use the DROP TABLE
statement to remove a table and all of its data from the database.
Syntax
drop_table ::= DROP TABLE [ IF EXISTS ] table_name
drop_table
Semantics
drop_table
table_name
Specify the name of the table to be dropped. If the table does not exist, an error is raised. Objects associated with the table, such as prepared statements, will be eventually invalidated after the DROP TABLE
statement is completed.