tencent cloud

DROP TABLE
Last updated: 2024-08-07 17:21:06
DROP TABLE
Last updated: 2024-08-07 17:21:06

Description

Supported engines: Presto and SparkSQL
Applicable table: Native and external tables
Purpose: Remove metadata table.

Statement

DROP TABLE [IF EXISTS] table_name;

Parameter

IF EXISTS: Optional. This parameter indicates whether the table exists.
table_name: Table name.

Example

DROP TABLE tbl
DROP TABLE IF EXISTS tbl


Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback