env dbrename API Ref

env dbrename
	[-auto_commit]
	[-txn txnid]
	[--]
	file
	newname
Description(env dbrename)

Rename the Berkeley DB database file to newname.

The options are as follows:


-auto_commit -txn txnid

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


APIRef

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