SQL DROP DATABASE Command

Here you will get DROP DATABASE command to drop an existing SQL database.

The SQL DROP DATABASE Statement

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

Syntax

DROP DATABASE databasename;

DROP DATABASE Example

The following SQL statement drops the existing database "testDB":

Example 1:

DROP DATABASE testDB;

Example 2:

DROP DATABASE myDB;

Example 1:

DROP DATABASE employess;

Comments