TO DISABLE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select q'! exec dbms_scheduler.disable('!' || OWNER || '.' || JOB_NAME || q'!');!' | |
from DBA_SCHEDULER_JOBS where enabled='TRUE' and owner not in ('EXFSYS','ORACLE_OCM','SYS') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select q'! exec dbms_scheduler.disable('!' || OWNER || '.' || JOB_NAME || q'!');!' | |
from DBA_SCHEDULER_JOBS where enabled='FALSE' and owner not in ('EXFSYS','ORACLE_OCM','SYS') |
just run outputs...
It's nice blog for oracle updates , Anantha.co.uk, one of the UK's leading technology Oracle recruitment agencies.Feel free, contact to us now.
ReplyDeleteThanks for sharing. One can easily enable/disable a scheduled job
ReplyDeleteSuper scripts
ReplyDelete