For the complete documentation index, see llms.txt. This page is also available as Markdown.

ColumnStore DROP TABLE

DROP TABLE for MariaDB ColumnStore deletes a table from the database; the ColumnStore-specific RESTRICT clause limits the drop to the front end for sync purposes.

The DROP TABLE statement deletes a table from ColumnStore.

Syntax

DROP  TABLE [IF EXISTS] 
    tbl_name 
    [RESTRICT ]

The RESTRICT clause limits the table to being dropped in the front end only. This could be useful when the table has been dropped on one user module and needs to be synced to others.

The following statement drops the orders table on the front end only:

DROP TABLE orders RESTRICT;

See also

This page is: Copyright © 2025 MariaDB. All rights reserved.

spinner

Last updated

Was this helpful?