Skip to content

Instantly share code, notes, and snippets.

@fljdin
Last active September 21, 2017 09:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fljdin/924ee1dfe42fecc1e0abd01c0f5acf66 to your computer and use it in GitHub Desktop.
Save fljdin/924ee1dfe42fecc1e0abd01c0f5acf66 to your computer and use it in GitHub Desktop.
SET lines 250
COL enabled FOR a8
COL last_start_date FOR a18
COL next_run_date FOR a18
SELECT owner, job_name, enabled,
to_char(last_start_date, 'YYYY-MM-DD HH24:MI:SS') last_date,
to_char(next_run_date, 'YYYY-MM-DD HH24:MI:SS') next_date
FROM dba_scheduler_jobs
WHERE owner = 'PERFSTAT' AND job_name LIKE 'SP_%';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment