SQL DROP DATABASE

SQL DROP DATABASE

The SQL DROP DATABASE statement is used to delete an existing database.

Syntax

The basic syntax of this DROP DATABASE statement is as following;

DROP DATABASE DatabaseName;
The database name should exist otherwise it would fail.