Monday, February 6, 2012

ORA-00001: unique constraint (SYS.I_JOB_JOB) violated

ORA-00001: unique constraint (SYS.I_JOB_JOB) violated

When exp/imp oracle database, you should care about whether the user have JOBs, it may cause ORA-00001 error.

----------------------
import done in US7ASCII character set and AL16UTF16 NCHAR character set
import server uses WE8ISO8859P1 character set (possible charset conversion)
. importing A's objects into B
. . importing table "T" 3643 rows imported
IMP-00017: following statement failed with ORACLE error 1:
"BEGIN DBMS_JOB.ISUBMIT(JOB=>21,WHAT=>'NULL;',NEXT_DATE=>TO_DATE('2009-01-"
"08:10:19:49','YYYY-MM-DD:HH24:MI:SS'),INTERVAL=>'sysdate+1/24',NO_PARSE=>TR"
"UE); END;"
IMP-00003: ORACLE error 1 encountered
ORA-00001: unique constraint (SYS.I_JOB_JOB) violated
ORA-06512: at "SYS.DBMS_JOB", line 97
ORA-06512: at line 1
Import terminated successfully with warnings.
---------------------

Removing the job will fix the problem.

No comments:

Post a Comment