Error when creating a batch job in Oracle: already exists?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I am trying to create a job in my Oracle database to refresh a materialized view every five minutes. The following is the code I have made:
BEGIN
SYS.DBMS_SCHEDULER.create_job(
job_name => 'refresh_cop_union',
job_type => 'PLSQL_BLOCK',
job_action => 'BEGIN DBMS_SNAPSHOT.REFRESH(''COP_UNION'',''C''); END;',
start_date => SYSTIMESTAMP,
repeat_interval => 'freq=minutely;interval=5',
end_date => NULL,
enabled => TRUE,
auto_drop => FALSE,
comments => 'Refresh COP_UNION matview'
);
END;
/
When I executed it I got the following error:
Error report -
ORA-27477: "MASTER_DB"."REFRESH_COP_UNION" already exists
ORA-06512: at "SYS.DBMS_ISCHED", line 175
ORA-06512: at "SYS.DBMS_SCHEDULER", line 288
ORA-06512: at line 2
27477. 00000 - ""%s"."%s" already exists"
*Cause: An attempt was made to create an object with a name that has
already been used by another object in the same schema.
*Action: Reissue the command using a different name or schema.
So it seems I have another object in my database with the same name, probably another job. Therefore I tried to execute the following code to delete it and replace it with my new version:
BEGIN
sys.dbms_scheduler.drop_job(job_name => 'refresh_cop_union');
END;
/
But it failed with the following error:
Error report -
ORA-27475: unknown job "MASTER_DB"."REFRESH_COP_UNION"
ORA-06512: at "SYS.DBMS_ISCHED", line 274
ORA-06512: at "SYS.DBMS_SCHEDULER", line 753
ORA-06512: at line 2
27475. 00000 - "unknown %s "%s"."%s""
*Cause: The specified object did not exist, privileges were not granted,
or the object was of the wrong type.
*Action: Specify an object of the correct type on which you have privileges.
Which basically says that the object I am trying to delete doesn't exist. How is this possible? How can I find this object, see what it is and eventually delete it?
I also went through all the objects that may have a similar name in my database: other tables, views, triggers but I found nothing.
I tried to list all the jobs I have in order to find mine with:
SELECT * FROM USER_JOBS
WHERE WHAT LIKE '%COP_UNION%';
But nothing showed up. Any idea?
database oracle jobs
add a comment |
I am trying to create a job in my Oracle database to refresh a materialized view every five minutes. The following is the code I have made:
BEGIN
SYS.DBMS_SCHEDULER.create_job(
job_name => 'refresh_cop_union',
job_type => 'PLSQL_BLOCK',
job_action => 'BEGIN DBMS_SNAPSHOT.REFRESH(''COP_UNION'',''C''); END;',
start_date => SYSTIMESTAMP,
repeat_interval => 'freq=minutely;interval=5',
end_date => NULL,
enabled => TRUE,
auto_drop => FALSE,
comments => 'Refresh COP_UNION matview'
);
END;
/
When I executed it I got the following error:
Error report -
ORA-27477: "MASTER_DB"."REFRESH_COP_UNION" already exists
ORA-06512: at "SYS.DBMS_ISCHED", line 175
ORA-06512: at "SYS.DBMS_SCHEDULER", line 288
ORA-06512: at line 2
27477. 00000 - ""%s"."%s" already exists"
*Cause: An attempt was made to create an object with a name that has
already been used by another object in the same schema.
*Action: Reissue the command using a different name or schema.
So it seems I have another object in my database with the same name, probably another job. Therefore I tried to execute the following code to delete it and replace it with my new version:
BEGIN
sys.dbms_scheduler.drop_job(job_name => 'refresh_cop_union');
END;
/
But it failed with the following error:
Error report -
ORA-27475: unknown job "MASTER_DB"."REFRESH_COP_UNION"
ORA-06512: at "SYS.DBMS_ISCHED", line 274
ORA-06512: at "SYS.DBMS_SCHEDULER", line 753
ORA-06512: at line 2
27475. 00000 - "unknown %s "%s"."%s""
*Cause: The specified object did not exist, privileges were not granted,
or the object was of the wrong type.
*Action: Specify an object of the correct type on which you have privileges.
Which basically says that the object I am trying to delete doesn't exist. How is this possible? How can I find this object, see what it is and eventually delete it?
I also went through all the objects that may have a similar name in my database: other tables, views, triggers but I found nothing.
I tried to list all the jobs I have in order to find mine with:
SELECT * FROM USER_JOBS
WHERE WHAT LIKE '%COP_UNION%';
But nothing showed up. Any idea?
database oracle jobs
1
I saw this once. It can be that the job is running and freezed. You dropped it and it is "dropped", but cannot be re-created as it is still "running" so to speak. Try dbms_scheduler.drop_job(job_name => 'refresh_cop_union', force=>TRUE)
– Miroslav Duník
Nov 15 '18 at 9:26
Thanks @MiroslavDuník for your comment, but unfortunately it didn't work. It showed up the same error you can see above. It still seems that the object doesn't exist.
– Rexam
Nov 15 '18 at 9:32
Is there a way to see the names given to the jobs that are obtained by the command querySELECT * FROM USER_JOBS
?
– Rexam
Nov 15 '18 at 9:37
add a comment |
I am trying to create a job in my Oracle database to refresh a materialized view every five minutes. The following is the code I have made:
BEGIN
SYS.DBMS_SCHEDULER.create_job(
job_name => 'refresh_cop_union',
job_type => 'PLSQL_BLOCK',
job_action => 'BEGIN DBMS_SNAPSHOT.REFRESH(''COP_UNION'',''C''); END;',
start_date => SYSTIMESTAMP,
repeat_interval => 'freq=minutely;interval=5',
end_date => NULL,
enabled => TRUE,
auto_drop => FALSE,
comments => 'Refresh COP_UNION matview'
);
END;
/
When I executed it I got the following error:
Error report -
ORA-27477: "MASTER_DB"."REFRESH_COP_UNION" already exists
ORA-06512: at "SYS.DBMS_ISCHED", line 175
ORA-06512: at "SYS.DBMS_SCHEDULER", line 288
ORA-06512: at line 2
27477. 00000 - ""%s"."%s" already exists"
*Cause: An attempt was made to create an object with a name that has
already been used by another object in the same schema.
*Action: Reissue the command using a different name or schema.
So it seems I have another object in my database with the same name, probably another job. Therefore I tried to execute the following code to delete it and replace it with my new version:
BEGIN
sys.dbms_scheduler.drop_job(job_name => 'refresh_cop_union');
END;
/
But it failed with the following error:
Error report -
ORA-27475: unknown job "MASTER_DB"."REFRESH_COP_UNION"
ORA-06512: at "SYS.DBMS_ISCHED", line 274
ORA-06512: at "SYS.DBMS_SCHEDULER", line 753
ORA-06512: at line 2
27475. 00000 - "unknown %s "%s"."%s""
*Cause: The specified object did not exist, privileges were not granted,
or the object was of the wrong type.
*Action: Specify an object of the correct type on which you have privileges.
Which basically says that the object I am trying to delete doesn't exist. How is this possible? How can I find this object, see what it is and eventually delete it?
I also went through all the objects that may have a similar name in my database: other tables, views, triggers but I found nothing.
I tried to list all the jobs I have in order to find mine with:
SELECT * FROM USER_JOBS
WHERE WHAT LIKE '%COP_UNION%';
But nothing showed up. Any idea?
database oracle jobs
I am trying to create a job in my Oracle database to refresh a materialized view every five minutes. The following is the code I have made:
BEGIN
SYS.DBMS_SCHEDULER.create_job(
job_name => 'refresh_cop_union',
job_type => 'PLSQL_BLOCK',
job_action => 'BEGIN DBMS_SNAPSHOT.REFRESH(''COP_UNION'',''C''); END;',
start_date => SYSTIMESTAMP,
repeat_interval => 'freq=minutely;interval=5',
end_date => NULL,
enabled => TRUE,
auto_drop => FALSE,
comments => 'Refresh COP_UNION matview'
);
END;
/
When I executed it I got the following error:
Error report -
ORA-27477: "MASTER_DB"."REFRESH_COP_UNION" already exists
ORA-06512: at "SYS.DBMS_ISCHED", line 175
ORA-06512: at "SYS.DBMS_SCHEDULER", line 288
ORA-06512: at line 2
27477. 00000 - ""%s"."%s" already exists"
*Cause: An attempt was made to create an object with a name that has
already been used by another object in the same schema.
*Action: Reissue the command using a different name or schema.
So it seems I have another object in my database with the same name, probably another job. Therefore I tried to execute the following code to delete it and replace it with my new version:
BEGIN
sys.dbms_scheduler.drop_job(job_name => 'refresh_cop_union');
END;
/
But it failed with the following error:
Error report -
ORA-27475: unknown job "MASTER_DB"."REFRESH_COP_UNION"
ORA-06512: at "SYS.DBMS_ISCHED", line 274
ORA-06512: at "SYS.DBMS_SCHEDULER", line 753
ORA-06512: at line 2
27475. 00000 - "unknown %s "%s"."%s""
*Cause: The specified object did not exist, privileges were not granted,
or the object was of the wrong type.
*Action: Specify an object of the correct type on which you have privileges.
Which basically says that the object I am trying to delete doesn't exist. How is this possible? How can I find this object, see what it is and eventually delete it?
I also went through all the objects that may have a similar name in my database: other tables, views, triggers but I found nothing.
I tried to list all the jobs I have in order to find mine with:
SELECT * FROM USER_JOBS
WHERE WHAT LIKE '%COP_UNION%';
But nothing showed up. Any idea?
database oracle jobs
database oracle jobs
asked Nov 15 '18 at 9:13
RexamRexam
1631416
1631416
1
I saw this once. It can be that the job is running and freezed. You dropped it and it is "dropped", but cannot be re-created as it is still "running" so to speak. Try dbms_scheduler.drop_job(job_name => 'refresh_cop_union', force=>TRUE)
– Miroslav Duník
Nov 15 '18 at 9:26
Thanks @MiroslavDuník for your comment, but unfortunately it didn't work. It showed up the same error you can see above. It still seems that the object doesn't exist.
– Rexam
Nov 15 '18 at 9:32
Is there a way to see the names given to the jobs that are obtained by the command querySELECT * FROM USER_JOBS
?
– Rexam
Nov 15 '18 at 9:37
add a comment |
1
I saw this once. It can be that the job is running and freezed. You dropped it and it is "dropped", but cannot be re-created as it is still "running" so to speak. Try dbms_scheduler.drop_job(job_name => 'refresh_cop_union', force=>TRUE)
– Miroslav Duník
Nov 15 '18 at 9:26
Thanks @MiroslavDuník for your comment, but unfortunately it didn't work. It showed up the same error you can see above. It still seems that the object doesn't exist.
– Rexam
Nov 15 '18 at 9:32
Is there a way to see the names given to the jobs that are obtained by the command querySELECT * FROM USER_JOBS
?
– Rexam
Nov 15 '18 at 9:37
1
1
I saw this once. It can be that the job is running and freezed. You dropped it and it is "dropped", but cannot be re-created as it is still "running" so to speak. Try dbms_scheduler.drop_job(job_name => 'refresh_cop_union', force=>TRUE)
– Miroslav Duník
Nov 15 '18 at 9:26
I saw this once. It can be that the job is running and freezed. You dropped it and it is "dropped", but cannot be re-created as it is still "running" so to speak. Try dbms_scheduler.drop_job(job_name => 'refresh_cop_union', force=>TRUE)
– Miroslav Duník
Nov 15 '18 at 9:26
Thanks @MiroslavDuník for your comment, but unfortunately it didn't work. It showed up the same error you can see above. It still seems that the object doesn't exist.
– Rexam
Nov 15 '18 at 9:32
Thanks @MiroslavDuník for your comment, but unfortunately it didn't work. It showed up the same error you can see above. It still seems that the object doesn't exist.
– Rexam
Nov 15 '18 at 9:32
Is there a way to see the names given to the jobs that are obtained by the command query
SELECT * FROM USER_JOBS
?– Rexam
Nov 15 '18 at 9:37
Is there a way to see the names given to the jobs that are obtained by the command query
SELECT * FROM USER_JOBS
?– Rexam
Nov 15 '18 at 9:37
add a comment |
1 Answer
1
active
oldest
votes
You must select USER_SCHEDULER_JOBS
rather then USER_JOBS
:
SELECT *
FROM USER_SCHEDULER_JOBS
where JOB_NAME LIKE '%COP_UNION%';
DBMS_SCHEDULER
are (new) scheduler jobs, whereas (old) jobs are maintained by package DBMS_JOB
Looks like a scheduler job must not have the same name as any other object. Check with
SELECT *
FROM ALL_OBJECTS
WHERE OBJECT_NAME LIKE '%COP_UNION%';
and chose a different name.
Seems to be a bug (Bug 4055853) in Oracle. According to Oracle the solution/workaround is
Changing the job name to be different than any object owned by the
user will work around the problem.
I didn't know this difference, thanks for pointing it out, but unfortunately if I executeSELECT * FROM USER_SCHEDULER_JOBS
only three jobs shows up and none of them is named as the one I am trying to create, so the error I get is still unexplained for me.
– Rexam
Nov 15 '18 at 9:50
Did you tryALL_SCHEDULER_JOBS
or evenDBA_SCHEDULER_JOBS
?
– Wernfried Domscheit
Nov 15 '18 at 9:51
Yes, still the same three jobs I mentioned before, none with the name I am looking for.
– Rexam
Nov 15 '18 at 9:56
Please have a look at my update.
– Wernfried Domscheit
Nov 15 '18 at 9:58
Changing the name of the job made it work. Thanks for helping.
– Rexam
Nov 15 '18 at 10:10
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53315939%2ferror-when-creating-a-batch-job-in-oracle-already-exists%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You must select USER_SCHEDULER_JOBS
rather then USER_JOBS
:
SELECT *
FROM USER_SCHEDULER_JOBS
where JOB_NAME LIKE '%COP_UNION%';
DBMS_SCHEDULER
are (new) scheduler jobs, whereas (old) jobs are maintained by package DBMS_JOB
Looks like a scheduler job must not have the same name as any other object. Check with
SELECT *
FROM ALL_OBJECTS
WHERE OBJECT_NAME LIKE '%COP_UNION%';
and chose a different name.
Seems to be a bug (Bug 4055853) in Oracle. According to Oracle the solution/workaround is
Changing the job name to be different than any object owned by the
user will work around the problem.
I didn't know this difference, thanks for pointing it out, but unfortunately if I executeSELECT * FROM USER_SCHEDULER_JOBS
only three jobs shows up and none of them is named as the one I am trying to create, so the error I get is still unexplained for me.
– Rexam
Nov 15 '18 at 9:50
Did you tryALL_SCHEDULER_JOBS
or evenDBA_SCHEDULER_JOBS
?
– Wernfried Domscheit
Nov 15 '18 at 9:51
Yes, still the same three jobs I mentioned before, none with the name I am looking for.
– Rexam
Nov 15 '18 at 9:56
Please have a look at my update.
– Wernfried Domscheit
Nov 15 '18 at 9:58
Changing the name of the job made it work. Thanks for helping.
– Rexam
Nov 15 '18 at 10:10
add a comment |
You must select USER_SCHEDULER_JOBS
rather then USER_JOBS
:
SELECT *
FROM USER_SCHEDULER_JOBS
where JOB_NAME LIKE '%COP_UNION%';
DBMS_SCHEDULER
are (new) scheduler jobs, whereas (old) jobs are maintained by package DBMS_JOB
Looks like a scheduler job must not have the same name as any other object. Check with
SELECT *
FROM ALL_OBJECTS
WHERE OBJECT_NAME LIKE '%COP_UNION%';
and chose a different name.
Seems to be a bug (Bug 4055853) in Oracle. According to Oracle the solution/workaround is
Changing the job name to be different than any object owned by the
user will work around the problem.
I didn't know this difference, thanks for pointing it out, but unfortunately if I executeSELECT * FROM USER_SCHEDULER_JOBS
only three jobs shows up and none of them is named as the one I am trying to create, so the error I get is still unexplained for me.
– Rexam
Nov 15 '18 at 9:50
Did you tryALL_SCHEDULER_JOBS
or evenDBA_SCHEDULER_JOBS
?
– Wernfried Domscheit
Nov 15 '18 at 9:51
Yes, still the same three jobs I mentioned before, none with the name I am looking for.
– Rexam
Nov 15 '18 at 9:56
Please have a look at my update.
– Wernfried Domscheit
Nov 15 '18 at 9:58
Changing the name of the job made it work. Thanks for helping.
– Rexam
Nov 15 '18 at 10:10
add a comment |
You must select USER_SCHEDULER_JOBS
rather then USER_JOBS
:
SELECT *
FROM USER_SCHEDULER_JOBS
where JOB_NAME LIKE '%COP_UNION%';
DBMS_SCHEDULER
are (new) scheduler jobs, whereas (old) jobs are maintained by package DBMS_JOB
Looks like a scheduler job must not have the same name as any other object. Check with
SELECT *
FROM ALL_OBJECTS
WHERE OBJECT_NAME LIKE '%COP_UNION%';
and chose a different name.
Seems to be a bug (Bug 4055853) in Oracle. According to Oracle the solution/workaround is
Changing the job name to be different than any object owned by the
user will work around the problem.
You must select USER_SCHEDULER_JOBS
rather then USER_JOBS
:
SELECT *
FROM USER_SCHEDULER_JOBS
where JOB_NAME LIKE '%COP_UNION%';
DBMS_SCHEDULER
are (new) scheduler jobs, whereas (old) jobs are maintained by package DBMS_JOB
Looks like a scheduler job must not have the same name as any other object. Check with
SELECT *
FROM ALL_OBJECTS
WHERE OBJECT_NAME LIKE '%COP_UNION%';
and chose a different name.
Seems to be a bug (Bug 4055853) in Oracle. According to Oracle the solution/workaround is
Changing the job name to be different than any object owned by the
user will work around the problem.
edited Nov 15 '18 at 9:58
answered Nov 15 '18 at 9:42
Wernfried DomscheitWernfried Domscheit
25k43261
25k43261
I didn't know this difference, thanks for pointing it out, but unfortunately if I executeSELECT * FROM USER_SCHEDULER_JOBS
only three jobs shows up and none of them is named as the one I am trying to create, so the error I get is still unexplained for me.
– Rexam
Nov 15 '18 at 9:50
Did you tryALL_SCHEDULER_JOBS
or evenDBA_SCHEDULER_JOBS
?
– Wernfried Domscheit
Nov 15 '18 at 9:51
Yes, still the same three jobs I mentioned before, none with the name I am looking for.
– Rexam
Nov 15 '18 at 9:56
Please have a look at my update.
– Wernfried Domscheit
Nov 15 '18 at 9:58
Changing the name of the job made it work. Thanks for helping.
– Rexam
Nov 15 '18 at 10:10
add a comment |
I didn't know this difference, thanks for pointing it out, but unfortunately if I executeSELECT * FROM USER_SCHEDULER_JOBS
only three jobs shows up and none of them is named as the one I am trying to create, so the error I get is still unexplained for me.
– Rexam
Nov 15 '18 at 9:50
Did you tryALL_SCHEDULER_JOBS
or evenDBA_SCHEDULER_JOBS
?
– Wernfried Domscheit
Nov 15 '18 at 9:51
Yes, still the same three jobs I mentioned before, none with the name I am looking for.
– Rexam
Nov 15 '18 at 9:56
Please have a look at my update.
– Wernfried Domscheit
Nov 15 '18 at 9:58
Changing the name of the job made it work. Thanks for helping.
– Rexam
Nov 15 '18 at 10:10
I didn't know this difference, thanks for pointing it out, but unfortunately if I execute
SELECT * FROM USER_SCHEDULER_JOBS
only three jobs shows up and none of them is named as the one I am trying to create, so the error I get is still unexplained for me.– Rexam
Nov 15 '18 at 9:50
I didn't know this difference, thanks for pointing it out, but unfortunately if I execute
SELECT * FROM USER_SCHEDULER_JOBS
only three jobs shows up and none of them is named as the one I am trying to create, so the error I get is still unexplained for me.– Rexam
Nov 15 '18 at 9:50
Did you try
ALL_SCHEDULER_JOBS
or even DBA_SCHEDULER_JOBS
?– Wernfried Domscheit
Nov 15 '18 at 9:51
Did you try
ALL_SCHEDULER_JOBS
or even DBA_SCHEDULER_JOBS
?– Wernfried Domscheit
Nov 15 '18 at 9:51
Yes, still the same three jobs I mentioned before, none with the name I am looking for.
– Rexam
Nov 15 '18 at 9:56
Yes, still the same three jobs I mentioned before, none with the name I am looking for.
– Rexam
Nov 15 '18 at 9:56
Please have a look at my update.
– Wernfried Domscheit
Nov 15 '18 at 9:58
Please have a look at my update.
– Wernfried Domscheit
Nov 15 '18 at 9:58
Changing the name of the job made it work. Thanks for helping.
– Rexam
Nov 15 '18 at 10:10
Changing the name of the job made it work. Thanks for helping.
– Rexam
Nov 15 '18 at 10:10
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53315939%2ferror-when-creating-a-batch-job-in-oracle-already-exists%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
I saw this once. It can be that the job is running and freezed. You dropped it and it is "dropped", but cannot be re-created as it is still "running" so to speak. Try dbms_scheduler.drop_job(job_name => 'refresh_cop_union', force=>TRUE)
– Miroslav Duník
Nov 15 '18 at 9:26
Thanks @MiroslavDuník for your comment, but unfortunately it didn't work. It showed up the same error you can see above. It still seems that the object doesn't exist.
– Rexam
Nov 15 '18 at 9:32
Is there a way to see the names given to the jobs that are obtained by the command query
SELECT * FROM USER_JOBS
?– Rexam
Nov 15 '18 at 9:37