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 服务器 - 数据库管理 » 启动并连接到数据库 » SQL Anywhere for Windows Mobile » 配置 Windows Mobile 数据库 » 创建 Windows Mobile 数据库

 

使用 dbinit 创建 Windows Mobile 数据库

初始化实用程序 (dbinit) 可用于创建可在 Windows Mobile 上使用的数据库。不过,您不能从此实用程序将数据库直接复制到 Windows Mobile 设备。您必须将使用 dbinit 实用程序创建的数据库手工复制到 Windows Mobile 设备。

♦  使用 dbinit 实用程序创建数据库
  1. 在命令提示符处,浏览到要创建数据库的目录。例如:

    cd temp
  2. 通过运行以下命令创建数据库:

    dbinit -s database-name.db

    -s 选项可为数据库启用校验和。

    提示

    您还可以使用初始化实用程序配置数据库属性,如加密和页面大小。请参见初始化实用程序 (dbinit)

  3. 将数据库复制到 Windows Mobile 设备。

    有关将数据库复制到 Windows Mobile 设备的详细信息,请参见将数据库复制到 Windows Mobile 设备