Removing a Db2 topology database on UNIX

You can remove the Db2® database on UNIX using a script.

About this task

To remove a Db2 database, complete the following steps:

Procedure

  1. Change to the scripts directory using the following command:
    cd $NCHOME/precision/scripts/sql/db2
  2. Execute the script using the following command:
    drop_db2_database.sh NCIM [ force ]

Results

If you use the optional force option, the script forces any existing Db2 users off the instance before attempting to drop the database.