English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Usage and Examples of SQL DROP DATABASE Keyword

SQL Keyword Reference

DROP DATABASE (Delete Database)

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

The following SQL statement deletes the database named "testDB":

  DROP DATABASE testDB;

Note:Be careful before deleting the database. Deleting the database will result in the loss of all information stored in the database!

SQL Keyword Reference