HOW TO REMOVE SCHEDULED.JOBS

Hello.
I have 4 simple questions.

1. how to show all the names of procedures

2. how to display all the name of scheduled tasks.

3. how to remove all scheduled tasks

4. how to remove a task planned with the specific name.

Thanks in advance
concerning
Sajid

Hello

1.

SELECT *
  FROM all_procedures;

2.

SELECT * FROM ALL_SCHEDULER_JOBS;   

SELECT * FROM ALL_SCHEDULER_PROGRAMS;

3. (but I wouldn't do that)

BEGIN
   FOR rec IN (SELECT job_name
                 FROM user_scheduler_jobs)
   LOOP
      dbms_scheduler.drop_job(rec.job_name);
   END LOOP;
END;

4.

DBMS_SCHEDULER.DROP_JOB;

In general, if you need a Dictionary view, but don't know what's her name, query the dictionary itself, example;

SELECT *
  FROM DICTIONARY
 WHERE table_name LIKE '%SCHEDU%';

Concerning
Peter

Concerning
Peter

Tags: Database

Similar Questions

Maybe you are looking for