求助oracle大神,导入dpm数据库的时候出错了
提示信息如下:IMP-00017:followingstatementfailedwithORACLEerror1:"BEGINDBMS_JOB.ISUBMIT(JOB=...
提示信息如下:
IMP-00017: following statement failed with ORACLE error 1:
"BEGIN DBMS_JOB.ISUBMIT(JOB=>3742,WHAT=>'DECLARE"
" x_flag INTEGER;"
" x_msg VARCHAR(200);"
"BEGIN "
" "
" --初始化UTMS数据"
" Initdata;"
" COMMIT;"
"END;',NEXT_DATE=>TO_DATE('2013-04-04:05:00:00','YYYY-MM-DD:HH24:MI:SS'),INT"
"ERVAL=>'TRUNC(SYSDATE+1)+5/24',NO_PARSE=>TRUE); 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
IMP-00017: following statement failed with ORACLE error 1:
"BEGIN DBMS_JOB.ISUBMIT(JOB=>3762,WHAT=>'DECLARE "
" x_flag INTEGER;"
" x_msg VARCHAR(200);"
"BEGIN"
" Doctms;"
" END;',NEXT_DATE=>TO_DATE('2013-04-04:04:01:32','YYYY-MM-DD:HH24:MI:SS'),I"
"NTERVAL=>'SYSDATE+10/1440',NO_PARSE=>TRUE); 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.
能不能给下详细的解决方法,我是oracle菜鸟 展开
IMP-00017: following statement failed with ORACLE error 1:
"BEGIN DBMS_JOB.ISUBMIT(JOB=>3742,WHAT=>'DECLARE"
" x_flag INTEGER;"
" x_msg VARCHAR(200);"
"BEGIN "
" "
" --初始化UTMS数据"
" Initdata;"
" COMMIT;"
"END;',NEXT_DATE=>TO_DATE('2013-04-04:05:00:00','YYYY-MM-DD:HH24:MI:SS'),INT"
"ERVAL=>'TRUNC(SYSDATE+1)+5/24',NO_PARSE=>TRUE); 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
IMP-00017: following statement failed with ORACLE error 1:
"BEGIN DBMS_JOB.ISUBMIT(JOB=>3762,WHAT=>'DECLARE "
" x_flag INTEGER;"
" x_msg VARCHAR(200);"
"BEGIN"
" Doctms;"
" END;',NEXT_DATE=>TO_DATE('2013-04-04:04:01:32','YYYY-MM-DD:HH24:MI:SS'),I"
"NTERVAL=>'SYSDATE+10/1440',NO_PARSE=>TRUE); 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.
能不能给下详细的解决方法,我是oracle菜鸟 展开
4个回答
展开全部
1、初步看起来是违反了唯一性约束。看看约束及相关对象是怎么定义的先?
ORA-00001: unique constraint (SYS.I_JOB_JOB) violated
下面的数据可能出现重复值,重点排查一下:
===================
NEXT_DATE=>TO_DATE('2013-04-04:05:00:00','YYYY-MM-DD:HH24:MI:SS'),
--NEXT_DATE始终是个固定值;
ERVAL=>'TRUNC(SYSDATE+1)+5/24'
--ERVAL如果在同一天执行多次也会出现重复值
2、再看看job的id是否已经被占用
select job,log_user,what from dba_jobs;
看看job ID是3742的是否已经被占用,可以删除占用3742ID的任务或者修改你的job ID试试
ORA-00001: unique constraint (SYS.I_JOB_JOB) violated
下面的数据可能出现重复值,重点排查一下:
===================
NEXT_DATE=>TO_DATE('2013-04-04:05:00:00','YYYY-MM-DD:HH24:MI:SS'),
--NEXT_DATE始终是个固定值;
ERVAL=>'TRUNC(SYSDATE+1)+5/24'
--ERVAL如果在同一天执行多次也会出现重复值
2、再看看job的id是否已经被占用
select job,log_user,what from dba_jobs;
看看job ID是3742的是否已经被占用,可以删除占用3742ID的任务或者修改你的job ID试试
展开全部
这个重新编译一下就行了
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
表导入应该是没有问题,但表的存储过程有问题。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
你新导入的库,在oracle里面有的时候需要重新编译的,这个其实也没关系。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询