053第450题

450.Which of the following are valid program types for a lightweight job? (Choose all that apply.)

A. PLSQL_BLOCK

B. EXECUTABLE

C. JAVA_STORED_PROCEDURE

D. STORED_PROCEDURE

E. EXTERNAL

Answer: AD

The following PL/SQL block creates a lightweight
job. Lightweight jobs must reference a program, and the program type must be ‘PLSQL_BLOCK
or ‘STORED_PROCEDURE
. In addition, the program must be already enabled
when you create the job.

BEGIN
  DBMS_SCHEDULER.CREATE_JOB (
   job_name         =>  ‘my_lightweight_job1‘,
   program_name     =>  ‘polling_prog_n2‘,
   repeat_interval  =>  ‘FREQ=SECONDLY;INTERVAL=10‘,
   end_date         =>  ‘30-APR-09 04.00.00 AM Australia/Sydney‘,
   job_style        => ‘LIGHTWEIGHT‘,
   comments         => ‘Job that polls device n2 every 10 seconds‘);
END;
/

版权声明:本文为博主原创文章,未经博主允许不得转载。

时间: 2024-10-12 19:11:03

053第450题的相关文章

053第383题

383.At the request of a user, you issue the following command to restore a dropped table: flashback table "BIN$F2JFfMq8Q5unbC0ceE9eJg==$0" to before drop; Later, the user notifies you that the data in the table seems to be very old and out of da

053第246题

246.The OPTIMIZER_USE_PLAN_BASELINES parameter is set to TRUE. The optimizer generates a plan for a SQL statement but does not find a matching plan in the SQL plan baseline. Which two operations are performed by the optimizer in this scenario? (Choos

053第256题

256.Sales details are being stored on a daily basis in the SALES_2007 table. A large amount of data is added to the table daily. To save disk space, you issued the following command: ALTER TABLE sales_2007 COMPRESS FOR ALL OPERATIONS; What would be t

053第170题

170.ASM supports all but which of the following file types? (Choose all that apply.) A. Database files B. Spfiles C. Redo-log files D. Archived log files E. RMAN backup sets F. Password files G. init.ora files Answer: FG Files that are stored in Orac

053第455题

455.When a job exceeds the date specified in its END_DATE attribute, which of the following will happen? (Choose all that apply.) A. The job will be dropped automatically if the value of the AUTO_DROP attribute is TRUE. B. The job will only be disabl

053第502题

502.A database is running In ARCHIVBXXMS mode. It has two online redo log groups and each group has one member. A LGWR Input/output (I/O) fells due to permanent media failure that has resulted In the loss of redo log file and the LWGR terminates caus

053第423题

423.Which of the following describes how a distributed resumable transaction behaves? A. The resumable setting on the initiating session determines the resumable conditions for the entire distributed transaction. B. The resumable setting for the init

053第85题

85.You executed the following command to drop a user: DROP USER scott CASCADE; Which two statements regarding the above command are correct? (Choose two.) A. All the objects of scott are moved to the Recycle Bin. B. Any objects in the Recycle Bin bel

053 第561题

561.If you issue the command shutdown abort prior to trying to put the database in ARCHIVELOG mode, what will be the result when you issue the command alter database archivelog? A. The alter database archivelog command will fail. B. The alter databas