Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikibooksThe Free Textbook Project
Search

Structured Query Language/Drop Table

From Wikibooks, open books for an open world
<Structured Query Language
Alter TableStructured Query Language
Drop Table
Temporary Table



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

DROPTABLE<t1>;

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

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


Alter TableStructured Query Language
Drop Table
Temporary Table
Retrieved from "https://en.wikibooks.org/w/index.php?title=Structured_Query_Language/Drop_Table&oldid=3698936"
Category:

[8]ページ先頭

©2009-2025 Movatter.jp