返回首页

gbase数据、南大通用产品文档:GBase8a导出数据中不包含所设定的包围符(2)

更新日期:2024年09月11日

本示例中,
导出数据中不包含设定的包围符,
并且将包围符设定为十六进制的字符。
$ ./db2to8a -D'test' -u'db2inst1' -p'db2inst1' -q"select *
from t" -f'data1.txt' -m'3' -e'|' -l'\n'
-s'\x61'
you machine is Little endian!
Connecting to test...
Connected to test.

GBase 8a MPP Cluster 产品手册
4 管理员指南
文档版本953(2022-04-10)
南大通用数据技术股份有限公司
569
--- unload [text file] mode ---
--- field="|" ---
0 rows exported at 2013-08-30 13:34:18
7 rows exported at 2013-08-30 13:34:18
output file data1.txt closed
export:
7 rows.
export:
5 columns.
export time:

No more data to read or write. Verify your SQLData class or getSQLTypeName()
当 Java™ 用户定义的例程试图读或设置超出数据输入流中可用的不透明类型数据末尾的位
置时,会发生此错误。
请仔细检查数据输入 UDR 代码的不透明类型的长度和结构。
getSQLTypeName() 方法返回
的 SQLTypeName 对象也可能不正确。

GS_UID 系统表存储了数据库中使用hasuids 属性表的唯一标识元信息。
名称
类型
描述
relid
oid
表的oid 信息。
uid_backup
bigint
当前可以为表分配唯一标识的最大值。