[ORACLE错误]ORA-00001: unique constraint (...) violated并不一定是数据冲突
遇到这种情况,重建完表和索引后,终于正常INSERT了。
prompt Importing table COUPON_ACTIVITY
set feedback off
set define off
insert into COUPON_ACTIVITY (ID, ACTIVITY_SUBJECT, BEGIN_DATE, END_DATE, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, ACTIVITY_CODE)
values (1, '广货网上行', to_date('01-08-2014', 'dd-mm-yyyy'), to_date('10-09-2014', 'dd-mm-yyyy'), 0, 0, '26-8月 -14 06.44.13.000000 下午', 0, '26-8月 -14 06.44.13.000000 下午', 'GHWSX_001');
prompt Done.
set feedback off
set define off
insert into COUPON_ACTIVITY (ID, ACTIVITY_SUBJECT, BEGIN_DATE, END_DATE, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, ACTIVITY_CODE)
values (1, '广货网上行', to_date('01-08-2014', 'dd-mm-yyyy'), to_date('10-09-2014', 'dd-mm-yyyy'), 0, 0, '26-8月 -14 06.44.13.000000 下午', 0, '26-8月 -14 06.44.13.000000 下午', 'GHWSX_001');
prompt Done.