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

SQL Anywhere 11.0.1 (中文) » SQL Anywhere 服务器 - 数据库管理 » 管理数据库 » 数据库管理实用程序

 

重建实用程序 (rebuild)

重建数据库文件。

语法
rebuild old-database new-database [ DBA-password ]
注释

此批处理文件或 shell 脚本使用 dbunload 将 old-database 重建为 new-database。指定两个数据库名时都不应带扩展名。扩展名 .db 会自动被添加。

如果 old-database 中 DBA 用户的口令不是初始口令 sql,则必须指定 DBA-password

Rebuild 使用 -an 选项运行 dbunload 命令。

您还可以通过 Sybase Central 中的 [卸载数据库向导],作为卸载过程的一部分来重建数据库。请参见使用 [卸载数据库向导] 导出数据

退出代码是零(成功)或非零(失败)。请参见软件组件的退出代码

此实用程序 支持使用 @data 参数从配置文件中读入选项。

另请参见