When i try to delete an existing database the following error occurs:

Database does not exist in system catalog.

Note:

The drive space is full where we store the log file of the database.
In this case we want to know how to delete a database.