DROP DATABASE Statement
The DROP DATABASE statement in SQL (Structured Query Language) is used to delete a database permanently.
SYNTAX
Syntax for DROP DATABASE in SQL
DROP DATABASE database_name;
Here database_name is the name of the database which you want to delete.
Example:
Below is the example for DROP DATABASE Statement in SQL
DROP DATABASE StudentInformation;
This statement deletes a database named StudentInformation.
NOTE: Be careful before dropping a database because this deletion would result in loss of data stored in the database.
The DROP DATABASE statement in SQL (Structured Query Language) is used to delete a database permanently.
SYNTAX
Syntax for DROP DATABASE in SQL
DROP DATABASE database_name;
Here database_name is the name of the database which you want to delete.
Example:
Below is the example for DROP DATABASE Statement in SQL
DROP DATABASE StudentInformation;
This statement deletes a database named StudentInformation.
NOTE: Be careful before dropping a database because this deletion would result in loss of data stored in the database.