「Oracle入門」ジョブを停止(削除)するメモ

メモ下記

1.ジョブ確認
SQL> set pages 1000
SQL> set line 100
SQL> column job_name format a30
SQL> select job_name,state from dba_scheduler_jobs where job_name='USER_MANAGE_JOBAA';

2.ジョブ停止
SQL> BEGIN
DBMS_SCHEDULER.STOP_JOB('USER_MANAGE_JOBAA');
END;
/


3.ジョブ無効化
SQL> BEGIN
DBMS_SCHEDULER.DROP_JOB('USER_MANAGE_JOBAA');
END;
/

4.ジョブ確認
SQL> select job_name,state from dba_scheduler_jobs where job_name='USER_MANAGE_JOBAA';

Oracle

Posted by arkgame