数据的导入导出

1.按1000条,一次一次的导入

IMPORT FROM 'C:\Users\\SQL\xx.ixf' OF IXF
MODIFIED BY
NOCHECKLENGTHS
COMMITCOUNT 1000
INSERT INTO "table1";

2.导出查询的数据集

EXPORT TO 'E:\IBM\QCDB2\Data\xxx.ixf' OF IXF
SELECT * FROM "table1";

3.导出excel格式的数据

EXPORT TO 'D:\xxx.xls'
 OF DEL MODIFIED BY COLDEL0x09
select ......

 

你可能感兴趣的:(导入导出)