查询job的几个语句
程序员文章站
2022-04-23 09:13:00
select * from dba_jobs ;select * from dba_scheduler_job_run_details t; >这个语句通过制定job名,来查看job的运行的详细信息 select * from dba_scheduler_jobs; >这个语句可以查看所有job,及 ......
select * from dba_jobs ;
select * from dba_scheduler_job_run_details t; ------>这个语句通过制定job名,来查看job的运行的详细信息
select t.owner,
t.job_name,
t.status,
to_char(t.actual_start_date, 'yyyy-mm-dd hh24:mi:ss'),
t.additional_info,
t.error#
from dba_scheduler_job_run_details t
where t.job_name = 'job_book1' --job名字
order by log_date desc;
select * from dba_scheduler_jobs; ----->这个语句可以查看所有job,及执行job的方式
select job_name,job_creator,job_type,program_name,job_action from dba_scheduler_jobs;