DB2 10.5 for Linux, UNIX, and Windows

Dropping databases

Dropping a database can have far-reaching effects, because this action deletes all its objects, containers, and associated files. The dropped database is removed (uncataloged) from the database directories.

Procedure

Example

The following command deletes the database SAMPLE:
    DROP DATABASE SAMPLE
Note: If you drop the SAMPLE database and find that you need it again, you can re-create it.