# berkdb dbremove |

`

###

    berkdb dbremove
    	[-env env]
    	[--]
    	name
    	[subname]

# Description

Remove the Berkeley DB database specified by the database name name and optional subdatabase name subname.

If no subdatabase is specified, the physical file represented by name is removed, incidentally removing all subdatabases 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:

-env env
  If a -env argument is given, the database in the specified Berkeley DB environment is removed.

--
  Mark the end of the command arguments.

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

`

Copyright Sleepycat Software