3
<!--Copyright 1997-2002 by Sleepycat Software, Inc.-->
4
<!--All rights reserved.-->
5
<!--See the file LICENSE for redistribution information.-->
8
<title>Berkeley DB: berkdb dbremove</title>
9
<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit.">
10
<meta name="keywords" content="embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++">
13
<a name="2"><!--meow--></a>
14
<table width="100%"><tr valign=top>
16
<h1><b>berkdb dbremove</b></h1>
19
<a href="../api_tcl/tcl_index.html"><img src="../images/api.gif" alt="API"></a><a href="../reftoc.html"><img src="../images/ref.gif" alt="Ref"></a>
23
<h3><pre>berkdb dbremove
30
<p>Remove the Berkeley DB database specified by the database name <b>file</b> and
31
[database] name arguments. If no <b>database</b> is specified,
32
the physical file represented by <b>file</b> is removed, incidentally
33
removing all databases that it contained.
34
<p>No reference count of database use is maintained by Berkeley DB. Applications
35
should not remove databases that are currently in use.
36
<p>The options are as follows:
38
<p><dt>-env env<dd>If a <b>-env</b> argument is given, the database in the specified Berkeley DB
39
environment is removed.
40
<p><dt>--<dd>Mark the end of the command arguments.
42
<p>The <b>berkdb dbremove</b> command returns 0 on success, and in the case of error, a Tcl error
45
<table width="100%"><tr><td><br></td><td align=right>
46
<a href="../api_tcl/tcl_index.html"><img src="../images/api.gif" alt="API"></a><a href="../reftoc.html"><img src="../images/ref.gif" alt="Ref"></a>
48
<p><font size=1><a href="http://www.sleepycat.com">Copyright Sleepycat Software</a></font>