tencent cloud

Data Lake Compute

DROP TABLE

Download
Focus Mode
Font Size
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



Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback