SQL DROP DATABASE Statement

The SQL DROP DATABASE Statement

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

SQL
DROP DATABASE databasename; 

DROP DATABASE Example

The following SQL statement drops the existing database “testDB”:

SQL
DROP DATABASE testDB;