- 
                Notifications
    You must be signed in to change notification settings 
- Fork 689
DROP
        Mathias Rangel Wulff edited this page May 12, 2016 
        ·
        6 revisions
      
    Keyword for dropping databases, tables, views, columns, and indexes.
Syntax:
    DROP [engine] DATABASE alias;
    DROP TABLE table;
    ALTER TABLE table DROP COLUMN columnid;
    DROP INDEX index;Note that [engine] is to be used when the database to be DROPped is hosed by a different engine (as for example IndexedDB or filestorage). Example:
DROP INDEXEDDB DATABASE db_nameSee also: [DROP DATABASE](Drop Database), [DROP TABLE](Drop Table), [DROP COLUMN](Drop Column), [DROP INDEX](Drop Index)
© 2014-2024, Andrey Gershun & Mathias Rangel Wulff
Please help improve the documentation by opening a PR on the wiki repo