Rebuild utility (rebuild)

Rebuilds a database file.

Syntax
rebuild old-database new-database [ DBA-password ]
Remarks

This batch file or shell script uses dbunload to rebuild old-database into new-database. Both database names should be specified without extensions. An extension of .db is automatically added.

The DBA-password must be specified if the password for the DBA user in the old-database is not the initial password sql.

Rebuild runs the dbunload command with the -an option.

You can also rebuild databases as part of the unload process using the Unload Database Wizard in Sybase Central. See Using the Unload Database Wizard.

Exit codes are 0 (success) or non-zero (failure). See Software component exit codes.

This utility does not accept the @data parameter to read in options from a configuration file.

See also