db truncate API Ref

db truncate
	[-txn txnid]
Description(db truncate)

Empties the database, discarding all records it contains.

The options are as follows:


-txn txnid

The db truncate command returns the number of records discarded from the database on success.

In the case of error, a Tcl error is thrown.


APIRef

Copyright (c) 1996,2008 Oracle. All rights reserved.