Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Structured Query Language/Drop Table

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

__TOC__ The DROP TABLE command removes the definition and all data of the named table from the database. DROP TABLE <t1>; The command handles the table as a whole. It will not fire any trigger. But it considers Foreign Key definitions. If any other table refers 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.