options中的errors设为0,sqlldr仍会将重复的数据入进去而导致整个表的主键索引失效
导出时候就约束好。
先导入一个临时表,对比排除重复数据,然后再insert into as select表里面