SQL DROP DATABASE Keyword
The DROP DATABASE
command is used to delete an existing SQL database completely. This removes all tables, data, and settings stored in the database.
SQL DROP DATABASE Syntax
SQL
x
1
DROP DATABASE database_name;
SQL DROP DATABASE Example
SQL
1
1
DROP DATABASE testDB;
Note: This command is not supported in SQLite, including our TechKubo playground. SQLite handles databases as individual files, and database creation or deletion is done outside of SQL through file operations.