tencent cloud

TDSQL Boundless

DROP DATABASE

Download
포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-02-10 11:26:19

Description

Delete a database.

Syntax

drop_database_stmt:
DROP DATABASE [IF EXISTS] database_name;

Parameter Description

Parameter
Optional or Not
Description
IF EXISTS
Optional
Prevents errors when the database does not exist.
database_name
Required
Specifies the name of the database to be deleted.

Examples

tdsql [(none)]> DROP DATABASE test1;
Query OK, 0 rows affected

도움말 및 지원

문제 해결에 도움이 되었나요?

피드백