Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
将 UltraLite 版本 8.0.2 至版本 9.0.x 的数据库和/或模式文件 (*.usm) 卸载到 XML 文件。
ulunloadold -c "connection-string" [ options ] xml-file
UltraLite 版本 12 不能直接升级版本 8.x 或版本 9.x 数据库。使用此工具生成 XML 文件,然后,ulload 使用此文件创建版本 12 数据库。请不要用此实用程序卸载 UltraLite 版本 12 数据库。请使用 ulunload 实用程序。
卸载数据库不会保留:
同步状态、存储的同步计数和行删除。请确保在卸载之前同步数据库。
UltraLite 用户条目。
要确认保留了哪些数据库选项或属性,请在使用 ulload 实用程序重装数据库以后运行 ulinfo。
如果列数据超过用 -b 指定的最大大小,溢出将保存在一个 *.bin 文件中,该文件位于:
该文件名称遵循以下命名约定:
tablename-columname-rownumber.bin
除 0 之外的任何错误代码值均意味着操作失败。
此实用程序不能用于在 Windows Mobile 设备上直接卸载数据库。必须先将这些数据库复制到台式计算机。
将名为 dbschema8.usm 的 UltraLite 8.0.x 模式文件升级成名为 db.udb 的 UltraLite 版本 12 数据库需要以下两条命令:
ulunloadold -c SCHEMA_FILE=dbschema8.usm dbschema.xml
ulload -c DBF=db.udb dbschema.xml