初始化实用程序 (dbinit) 可用于创建可在 Windows Mobile 上使用的数据库。不过,您不能从此实用程序将数据库直接复制到 Windows Mobile 设备。您必须将使用 dbinit 实用程序创建的数据库手工复制到 Windows Mobile 设备。
在命令提示符处,浏览到要创建数据库的目录。例如:
cd temp |
通过运行以下命令创建数据库:
dbinit -s database-name.db |
-s 选项可为数据库启用校验和。
您还可以使用初始化实用程序配置数据库属性,如加密和页面大小。请参见初始化实用程序 (dbinit)。
将数据库复制到 Windows Mobile 设备。
有关将数据库复制到 Windows Mobile 设备的详细信息,请参见将数据库复制到 Windows Mobile 设备。
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |