Oracle 启动 停止JOB
转自:https://www.cnblogs.com/qianbing/p/6971633.html
--查看job下次执行时间以及间隔时间
select * from dba_jobs where job = '774';
--启动job
exec dbms_job.run(774);
--停用job
EXEC DBMS_JOB.BROKEN(job#,TRUE); EXEC DBMS_JOB.BROKEN(774, TRUE);
--查看当前用户下面有多少job执行
select job,what,failures,broken from user_jobs where job = '774' ;
--查看正在运行的job
select * from dba_jobs_running where job = '774';