我对 CLPPlus 和 IMPORT 命令有一个新问题。
我尝试将数据导入到名称中包含空格的表中,但似乎失败了:
SQL> IMPORT FROM '/home/i1058/outfile' INSERT INTO USER1."TABLE 1";
Invalid Syntax Error
SQL> IMPORT FROM '/home/i1058/outfile' INSERT INTO USER1.'TABLE 1';
Invalid Syntax Error
我尝试了很多东西,但总是失败。
当然,我也尝试过使用 CLP 的“经典”加载,并且效果很好:
db2 'LOAD FROM "outfile" OF DEL MODIFIED BY CODEPAGE=1208 NOCHARDEL INSERT INTO "USER1"."TABLE 1"'
...
Number of rows read = 3
Number of rows skipped = 0
Number of rows loaded = 3
Number of rows rejected = 0
Number of rows deleted = 0
Number of rows committed = 3
有任何想法吗 ?
谢谢并恭祝安康