Updated on 2024-05-29 GMT+08:00

Deleting tables

This section describes the basic SQL syntax and usage of Doris for deleting tables.

Basic Syntax

DROP TABLE [IF EXISTS] [db_name.]table_name [FORCE];

Use Example

  • Delete the my_table table.

    DROP TABLE IF EXISTS example_db.my_table;