NuxOra – Linux and Oracle IT website

Admistration, configuration, déploiement, optimisation et tuning.

Lister et arreter un job Oracle

Un petite question posée par mail il y a peu:

Pour lister les jobs

SQL> connect system/xxx
SQL> select job, schema_user, next_date, what from dba_jobs;


JOB    SCHEMA_USER    NEXT_DATE     WHAT
------ -------------- ---------     --------------------
1      SYSMAN         19-OCT-08     EMD_MAINTENANCE.EXECUTE_EM_DBMS_JOB_PROCS();
100    CRM            19-OCT-08     CRM_PROCS();
101    STAT           19-OCT-08     STAT_JOB_PROCS();

Pour supprimer un job

SQL> exec dbms_job.remove(215);
PL/SQL procedure successfully completed.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>