Chapter 4 Database Administration Utilities
95
$ For full information on erasing a database from Sybase Central, see
"Erasing a database" on page 118 of the book ASA User’s Guide.
The dberase command-line utility
dberase [
switches
]
database-file
Switch Description
–o filename Log output messages to a file
–q
Operate quietly—do not print messages
–y
Erase files without confirmation
The database-file may be a database file, write file, or transaction log file.
The full filename must be specified, including extension. If a database file or
write file is specified, the associated transaction log file (and mirror, if one is
maintained) is also erased.
$ For more information about the command-line switches, see "Erase
utility options" on page 95.
Erase utility options
Log output messages to file (–o) Write output messages to the named
file.
Operate quietly (–q) Do not display output messages. This option is
available only from the command-line utility.
Operate without confirming actions (–y) Choosing this option
automatically deletes each file without prompting you for confirmation.
Syntax
Description