SQL Statements

DROP TABLE

sql-command ::= DROP TABLE table-name

The DROP TABLE statement removes a table added with the CREATE TABLE statement. The name specified is the table name. It is completely removed from the database schema and the disk file. The table can not be recovered. All indices associated with the table are also deleted. Non-temporary tables in an attached database cannot be dropped.

The DROP TABLE statement does not reduce the size of the database file. Empty space in the database is retained for later INSERTs. To remove free space in the database, use the VACUUM command.