本示例中,导出数据中包含设定的包围符,并且将包围符设定不可见的字符。
$ ./db2to8a -D'test' -u'db2inst1' -p'db2inst1' -q"select *
from t" -f'data1.txt' -m'3' -e'|' -l'\n'
-s'\x09'
you machine is Little endian!
Connecting to test...
Connected to test.
--- 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
GBase 8a MPP Cluster 产品手册
4 管理员指南
文档版本953(2022-09-15)
南大通用数据技术股份有限公司
570
output file data1.txt closed
export:
7 rows.
export:
5 columns.
export time: