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

SQL Anywhere 11.0.1 (中文) » UltraLiteJ » UltraLiteJ 参考 » UltraLiteJ 实用程序 » J2SE 的实用程序

 

UltraLiteJ 数据库装载实用程序 (ULjLoad)

ULjLoad 实用程序提供从 XML 源文件装载 UltraLiteJ 数据库的功能。XML 文件通常由 ULjUnload 实用程序产生,并且可以自定义。

语法
ULjLoad -c filename -p password [ options ] inputfile
选项 说明
-a 将来自 XML 文件的信息添加到现有数据库。如果未指定此选项,则创建新数据库。
-c filename 必需。数据库文件的名称。
-d 仅装载数据;忽略模式信息。
-f directory 检索列数据的目录,其中列数据大于执行 ULjUnload 的过程中通过 -b 选项指定的最大 BLOB 大小。
-i 插入用于上载同步的行。
-n 仅装载模式信息;忽略行数据。
-p password 必需。连接到数据库的口令。
-q 以安静模式运行—不显示消息。
-v 显示详细消息。
-y 如果输出文件存在(且未指定 -a 选项),则将其覆盖。
-? 显示命令行用法信息。
inputfile 包含 xml 语句的输入文件。
用法概览示例

ULjLoad 实用程序命令行包括 -? 选项时,会显示以下用法信息:

SQL Anywhere UltraLite J Database Load Utility
Usage: uljload [options] <XML file>
        Create and load data into a new UltraLite J database from <XML file>.

Options:
        -a      Add to existing database.
        -c      <file> Database file.
        -d      Data only -- ignore schema.
        -f      <directory>
                Directory to store columns larger than <max blob size>.
        -i      Insert rows for upload synchronization.
        -n      Schema only -- ignore data.
        -p      Password to connect to database.
        -q      Quiet: do not print messages.
        -v      Verbose messages.
        -y      Overwrite file if it already exists.