mqsideletedb command

Use the mqsideletedb command to delete a database that you created by using the mqsicreatedb command.

Supported platforms

  • Windows®

Purpose

The mqsideletedb command deletes the database and removes the ODBC data source name.

If this database is the last Derby database managed by DatabaseInstanceMgr, the Derby Network Server and DatabaseInstanceMgr service are also stopped and removed.

Syntax

Parameters

DatabaseName
This must be the only parameter. Specify the name of the database that you want to delete.

All the data stored in this database is permanently deleted.

-d DeleteAllDatabases
This must be the only parameter. Specify this option to delete all the databases that have been created by mqsicreatedb.

All the data stored in ALL databases is permanently deleted.

Authorization

The user ID used to invoke this command must have Administrator authority on the local system and be a member of the mqbrkrs group.

Examples

The following example deletes the database brokerdb:
mqsideletedb brokerdb
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2009Copyright IBM Corporation 1999, 2009.
Last updated : 2009-01-07 15:22:47

an35002_