Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP Sybase SQL Anywhere 16.0 » SQL Anywhere Server - Database Administration » SQL Anywhere database connections » Database file types

 

Dropping a database (dberase utility)

Drop a database by using the dberase utility, which deletes all tables and data from disk, including the transaction log that records alterations to the database. All database files are read-only to prevent accidental modification or deletion of database files.

Prerequisites

The database to be dropped must not be running when the dberase utility is used.

Context and remarks

The dberase utility does not drop dbspaces. To drop a dbspace, use the DROP DBSPACE statement.

 Task
  • Run the dberase utility.

Results

The database has been erased.

Next

If necessary, use the DROP DBSPACE statement.

Example

The following command drops the temp database.

dberase c:\temp\temp.db

 See also