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

SQL Anywhere 12.0.1 » MobiLink - 入门 » MobiLink 教程 » 教程:将 MobiLink 与 Adaptive Server Enterprise 统一数据库结合使用

 

清理

本课假定您已完成前面的所有课程。 请参见第 1 课:设计模式

重新生成 pubs2 数据库并从计算机中删除所有教程资料。

 ♦ 删除教程资料
  1. 重新生成 pubs2 数据库。

    要运行用于安装 pubs2 数据库的脚本,请运行以下命令:

    isql
    -U sa
    -P your-password-for-sa-account
    -i %SYBASE%\%SYBASE_ASE%\scripts\instpbs2

    如果正在远程访问 Adaptive Server Enterprise,请使用 -S 选项指定服务器名称。还必须以本地方式将 instpbs2 文件复制到计算机上。需要更新 -i 选项以便指定 instpbs2 文件的新位置。

  2. 删除同步模型。

    1. 启动 Sybase Central。

    2. 在右窗格中,双击 [MobiLink 12]。

      sync_ase 模型出现。

    3. 右击 sync_ase,然后选择 [删除]。

  3. 使用 dberase 实用程序消除远程数据库。

    运行以下命令:

    dberase sync_ase\remote\sync_ase_remote.db