oracle 如何在oracle中删除预定的作业
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/37458051/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-09 01:06:33 来源:igfitidea点击:
How to drop a scheduled job in oracle
提问by sith
I created a job named ENTRY_TIME
我创建了一个名为ENTRY_TIME的工作
BEGIN
DBMS_SCHEDULER.CREATE_JOB (
job_name => 'ENTRY_TIME',
job_type => 'STORED_PROCEDURE',
job_action => 'PK_ENTRY_TIME.PROC_ENTRY_TIME',
start_date => '24-MAY-16 07.00.00 AM America/Chicago',
repeat_interval => 'FREQ=DAILY',
end_date => '20-NOV-99 07.00.00 AM America/Chicago',
auto_drop => FALSE,
comments => 'My new job');
END;
/
Now I want to drop this job.What query should be used to drop this job Entry_timepermanently?
现在我想放弃这个工作。应该使用什么查询来永久放弃这个工作Entry_time?
回答by Yaron Idan
BEGIN
dbms_scheduler.drop_job(job_name => 'ENTRY_TIME');
END;
/