With the Uncompression utility you can expand a compressed database file created by the Compression utility. The Uncompression utility reads the given compressed database file and creates an uncompressed database file.
The Uncompression utility does not uncompress files other than the main database file (dbspace files).
You can access the Uncompression utility in the following ways:
For full information on uncompressing a database in Sybase Central, see the Sybase Central online Help.
The syntax for the Uncompression utility from the ISQL DBTOOL statement is as follows:
DBTOOL UNCOMPRESS DATABASE compressed-database-file
... [ TOfilename ] [ NOCONFIRM ]
The following statement uncompresses the compressed database file C:\TEMP.CDB, creating the database file C:\TEMP.DB
DBTOOL UNCOMPRESS DATABASE 'c:\temp.cdb'
dbexpand [switches] compressed-database-file [database-file]
dbexpanw [switches] compressed-database-file [database-file]
Switch | Description |
---|---|
-q | Operate quietly---do not print messages |
-y | Erase existing output file without confirmation |
The input filename extension defaults to CDB. The output filename (with extension) must not have the same name as the input filename (with extension).
For more information about the command-line switches, see "Uncompression utility options".
Output log messages to file (-o ) Redirect log messages to the named file. Do not display messages on a window. For the DBEXPAND command-line utility, this is the -q command-line switch. This option is available only from the command-line utility.
Operate without confirming actions (-y ) Without this option, you are prompted to confirm the replacement of an existing database file.