Updated on 2024-10-09 GMT+08:00

DROP TABLE

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;