Previous Topic

Next Topic

destroydb Command—Destroy a Database

Permission required: DBA or system administrator.

The destroydb command removes an existing database. The directory of the database and all files in that directory are removed. You cannot destroy the iidbdb using destroydb.

If you are using Ingres Star, the destroydb command destroys the distributed database, the coordinator database, and all the Ingres Star objects that make up the distributed database. Data in underlying tables in non-coordinator local databases registered in the distributed database are not affected.

The destroydb command has the following format:

destroydb dbname [-p] [-l] [-uusername]

Previous Topic

Next Topic

destroydb Examples

This command destroys the empdata database:

destroydb empdata

This command destroys the video database as the user Brad:

destroydb video -uBrad


© 2007 Ingres Corporation. All rights reserved.