bugl
bugl
HomeLearnPatternsSearch
HomeLearnPatternsSearch

Loading lesson path

Learn/SQL/SQL References
SQL•SQL References

SQL DROP DATABASE Keyword

Concept visual

SQL DROP DATABASE Keyword

Pointer walk
two pointers
leftright102132436485116
left=0
right=6
1
3

Start at both ends

DROP DATABASE Keyword

Previous

❮ SQL Keywords

Next

Drop Database

The DROP DATABASE

command is used to delete an existing SQL database. The following SQL drops a database named "testDB":

Example

DROP DATABASE testDB;

Note:

Be careful before dropping a database. Deleting a database will result in loss of complete information stored in the database!

Previous

❮ SQL Keywords

Next

Previous

SQL DROP CONSTRAINT Keyword

Next

SQL DROP DEFAULT Keyword