2026-03-12 20:23:15
This commit is contained in:
25
timhall/11g/autotask_job_history.sql
Normal file
25
timhall/11g/autotask_job_history.sql
Normal file
@@ -0,0 +1,25 @@
|
||||
-- -----------------------------------------------------------------------------------
|
||||
-- File Name : https://oracle-base.com/dba/11g/autotask_job_history.sql
|
||||
-- Author : Tim Hall
|
||||
-- Description : Displays the job history for the automatic maintenance tasks.
|
||||
-- Requirements : Access to the DBA views.
|
||||
-- Call Syntax : @autotask_job_history.sql
|
||||
-- Last Modified: 14-JUL-2016
|
||||
-- -----------------------------------------------------------------------------------
|
||||
|
||||
COLUMN client_name FORMAT A40
|
||||
COLUMN window_name FORMAT A20
|
||||
COLUMN job_start_time FORMAT A40
|
||||
COLUMN job_duration FORMAT A20
|
||||
COLUMN job_status FORMAT A10
|
||||
|
||||
SELECT client_name,
|
||||
window_name,
|
||||
job_start_time,
|
||||
job_duration,
|
||||
job_status,
|
||||
job_error
|
||||
FROM dba_autotask_job_history
|
||||
ORDER BY job_start_time;
|
||||
|
||||
COLUMN FORMAT DEFAULT
|
||||
Reference in New Issue
Block a user