FuzzDuck
FuzzDuck
Drop database
FuzzDuck
Drop database

Drop database

If we want to delete our database, we send the command DROP DATABASE databasename. When deleting a database, the entire database with its content will be completely erased. Unless you have a backup all the data will be lost.

--- SQL command to drop database ---
DROP DATABASE databasename;
DuckTown

In the example with DuckTown, we simply call the command DROP DATABASE DuckTown and the DuckTown database is removed. If we want the database restored, we would have to manually insert the data through commands to the RDBMS, or recover from a backup database.

--- SQL command to drop the database named DuckTown ---
DROP DATABASE DuckTown;