Cleaning up DB2

These instructions assume that you are using DB2 Universal Database and guide you through the following tasks:

To remove the database and the ODBC definition:

  1. In a DB2 command window, enter the following command to ensure that DB2 is started:
    db2start
  2. In a DB2 command window, enter the following command:
    db2 DROP DATABASE STAFFDB 
    
  3. Remove the ODBC definition for the STAFFDB database, which has the data source name (DSN) STAFFDB, by undoing the ODBC setup step; see Enabling ODBC connections to the databases in the WebSphere Message Broker documentation.

Back to Cleaning up the database

Back to sample home