Skip to main content Link Menu Expand (external link) Document Search Copy Copied

DROP DATABASE statement

Drops the specified database.

BNF diagram

expr

Syntax

DROP DATABASE database_name;

Arguments

Argument Data type Description Required
database_name string Name of the database to delete yes

Example

DROP DATABASE test_db;