Last modified on 3 April 2014, at 08:06

Structured Query Language/Drop Table

← Alter Table | Temporary Table →

The DROP TABLE command removes the definition and all data of the named table from the database.


The command handles the table as a whole. It will not fire any trigger. But it considers Foreign Key definitions. If any other table referes to the table to be dropped, the DROP TABLE command will fail. The Foreign Key definition must be dropped first.

As the DROP TABLE command handles the table as a whole, it is very fast.