Oracle OCP IZ0-053 Q651(Scheduler Job)
651.The user SYS creates a job by using the following command:
Which two statements are true about the job that was created by the preceding command? (Choose two.)
A. The job is enabled by default after creation
B. The job is automatically dropped after the end date
C. The job executes with the privileges of the user SYS
D. The globalization environment that exists at the time of the job creation prevails at the job runs
Answer: BC
驗證:
BEGIN
dbms_scheduler.create_job(job_name => 'OCP651_Verify',
job_type => 'STORED_PROCEDURE',
job_action => 'scott.sp_test',
start_date => to_date('20150309 00:00:00',
'yyyymmdd hh24:mi:ss'),
repeat_interval =>'FREQ=DAILY;INTERVAL=2',
end_date => to_date('20150320 00:00:00',
'yyyymmdd hh24:mi:ss'),
comments => 'Testing');
END;
SQL> SELECT job_name, owner, j.auto_drop, j.enabled
2 FROM dba_scheduler_jobs j
3 WHERE job_name = 'OCP651_VERIFY';
JOB_NAME OWNER AUTO_ ENABL
------------------------------ ------------------------------ ----- -----
OCP651_VERIFY SYS TRUE FALSE
可以看出,JOB建立時預設是AUTO DROP, ENABLED=FALSE
參考:http://blog.csdn.net/rlhua/article/details/16105705
Which two statements are true about the job that was created by the preceding command? (Choose two.)
A. The job is enabled by default after creation
B. The job is automatically dropped after the end date
C. The job executes with the privileges of the user SYS
D. The globalization environment that exists at the time of the job creation prevails at the job runs
Answer: BC
驗證:
BEGIN
dbms_scheduler.create_job(job_name => 'OCP651_Verify',
job_type => 'STORED_PROCEDURE',
job_action => 'scott.sp_test',
start_date => to_date('20150309 00:00:00',
'yyyymmdd hh24:mi:ss'),
repeat_interval =>'FREQ=DAILY;INTERVAL=2',
end_date => to_date('20150320 00:00:00',
'yyyymmdd hh24:mi:ss'),
comments => 'Testing');
END;
SQL> SELECT job_name, owner, j.auto_drop, j.enabled
2 FROM dba_scheduler_jobs j
3 WHERE job_name = 'OCP651_VERIFY';
JOB_NAME OWNER AUTO_ ENABL
------------------------------ ------------------------------ ----- -----
OCP651_VERIFY SYS TRUE FALSE
可以看出,JOB建立時預設是AUTO DROP, ENABLED=FALSE
參考:http://blog.csdn.net/rlhua/article/details/16105705
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/8520577/viewspace-2054971/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle OCP IZ0-053 Q448(Job Coordinator)Oracle
- Oracle OCP IZ0-053 Q216(Job Chain Process)OracleAI
- Oracle資料庫——Scheduler JobOracle資料庫
- oracle DBMS_SCHEDULER_job 管理Oracle
- Oracle Scheduler(5)job呼叫programOracle
- Oracle OCP IZ0-053 Q449(Scheduler Window&Resource Plan&Schedule Object)OracleObject
- 【JOB】Oracle JOB全面學習(DBMS_JOB和DBMS_SCHEDULER)Oracle
- Oracle Scheduler Job未能按時啟動Oracle
- Oracle Scheduler(4)job呼叫program和scheduleOracle
- Oracle OCP IZ0-053 Q543Oracle
- Oracle OCP IZ0-053 Q2Oracle
- Oracle OCP IZ0-053 Q282Oracle
- Oracle OCP IZ0-053 Q705Oracle
- Oracle OCP IZ0-053 Q476Oracle
- Oracle OCP IZ0-053 Q452Oracle
- oracle10g job 相關-dbms_scheduler.create_job(轉載)Oracle
- 全面學習ORACLE Scheduler特性(11)使用Job ClassesOracle
- Quartz job scheduler 學習quartz
- Oracle OCP IZ0-053 Q14(Hot Patch)Oracle
- Oracle OCP IZ0-053 Q682(Rman Crosscheck)OracleROS
- Oracle OCP IZ0-053 Q88(Rman Channel)Oracle
- Oracle OCP IZ0-053 Q432(Segment Shrink)Oracle
- Oracle OCP IZ0-053 Q694(Transportable Tablespace)Oracle
- ORACLE dbms_scheduler.create_job建立job作業遭遇PLS-00306Oracle
- Oracle dbms_scheduler建立帶輸入引數的JOBOracle
- Oracle OCP IZ0-053(Recovery Missing Active Redo Log)Oracle
- Oracle OCP IZ0-053 Q695(Rman catalog)Oracle
- Oracle OCP IZ0-053 Q257(workload capture)OracleAPT
- Oracle OCP IZ0-053 Q594(RMAN Image Copy)Oracle
- Oracle OCP IZ0-053 710(Recyclebin&Tablespace Quato)Oracle
- Oracle OCP IZ0-053 Q582(Recover Archivedlog)OracleHive
- Oracle OCP IZ0-053 Q425( transportable tablespace set)Oracle
- Oracle OCP IZ0-053 Q193(rman recover)Oracle
- Oracle OCP IZ0-053 Q157(Data Encryption)Oracle
- Oracle 任務管理之 ----program(程式)---scheduler(計劃)--Job(任務)Oracle
- Oracle OCP 1Z0 053 Q444(Scheduler)Oracle
- Oracle OCP 1Z0 053 Q440(Scheduler)Oracle
- 使用DBMS_JOB和DBMS_SCHEDULER建立、管理job示例