berkdb dbremove

berkdb dbremove
        [-encrypt]
	[-encryptaes passwd]
	[-encryptany passwd]
	[-env env]
	[--]
	file
	[database]  

Remove the Berkeley DB database specified by the database name file and [database] name arguments. If no database is specified, the physical file represented by file is removed, incidentally removing all databases that it contained.

No reference count of database use is maintained by Berkeley DB. Applications should not remove databases that are currently in use.

The options are as follows:

The berkdb dbremove command returns 0 on success, and in the case of error, a Tcl error is thrown.