Script to get list of all jobs

Script to get list of all jobs

select substr(job,1,4) "job",
substr(job,1,4) "job",
substr(schema_user,1,10) "user",
(schema_user,1,10) "user",
substr(to_char(last_date,'dd.mm.yyyy hh24:mi'),1,16) "last date",
(to_char(last_date,'dd.mm.yyyy hh24:mi'),1,16) "last date",
substr(to_char(next_date,'dd.mm.yyyy hh24:mi'),1,16) "next date",
(to_char(next_date,'dd.mm.yyyy hh24:mi'),1,16) "next date",
substr(broken,1,2) "b",
(broken,1,2) "b",
substr(failures,1,6) "failed",
(failures,1,6) "failed",
substr(what,1,32) "command"
(what,1,32) "command"
from dba_jobs;

Comments

Popular posts from this blog

ORA-04062: timestamp of procedure has been changed

ORA-00939: too many arguments -when case arguments exceed 255

ORA-31655: no data or metadata objects selected for job