The DROP DATABASE command deletes a pre-existing SQL database.
The following SQL removes a database named “testDB”:
DROP DATABASE testDB; |
Caution: Exercise care prior to dropping a database. Deleting a database will lead to the loss of all data stored within it! |