bugl
bugl
HomeLearnPatternsPathsSearch
HomeLearnPatternsPathsSearch

Loading lesson path

Learn/SQL/SQL References
SQL•SQL References

SQL DROP DATABASE Keyword

Flash cards

Review the key moves

1/4
Core idea

What is the main idea behind SQL DROP DATABASE Keyword?

Lesson checks

Practice each idea before moving on

Short Mimo-style checks built from this lesson's code, terms, and sequence.

1Quick choice

Which statement best captures the main point of this lesson?

2Fill blank

Complete the missing token from the example code.

___ DATABASE testDB;

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 DROP CONSTRAINT Keyword

Next

SQL DROP DEFAULT Keyword