Skip to main content

DROP DATABASE

Remove a database and all of its contents.

Syntax

Parameters

ParameterDescription
IF EXISTSDo not raise an error if the database does not exist
database_nameName of the database to remove

Examples

DROP DATABASE IF EXISTS app_staging;

See also