You issued the following block of code:        SQL>BEGIN   D

题目
单选题
You issued the following block of code:        SQL>BEGIN   DBMS_RESOURCE_MANAGER_PRIVS.GRANT_SWITCH_CONSUMER_GROUP(        ’PROG_ROLE’, ’DEVELOPERS’ ,FALSE);        END;        SQL>/   Which option is NOT a result of executing the above code?()
A

 The switch privilege is granted to the PROG_ROLE role.

B

 The users granted the role PROG_ROLE will be able to switch to the DEVELOPERS group.

C

 The users cannot grant the switch privilege to other users.

D

 The above code will not be executed successfully because the GRANT_SWITCH_CONSUMER_GROUP procedure is an invalid procedure in Oracle10g.

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

Your organization decided to upgrade the existing Oracle 10g database to Oracle 11g database in a multiprocessor environment. At the end of the upgrade, you observe that the DBA executes the following script:SQL> @utlrp.sqlWhat is the significance of executing this script?()

A. It performs parallel recompilation of only the stored PL/SQL code.

B. It performs sequential recompilation of only the stored PL/SQL code.

C. It performs parallel recompilation of any stored PL/SQL as well as Java code.

D. It performs sequential recompilation of any stored PL/SQL as well as Java code.


参考答案:C

第2题:

You accepted the recommended SQL Profile by executing the following code:   DECLARE   sqlprofile_name varchar2(30);  BEGIN   sqlprofile_name := DBMS_SQLTUNE.ACCEPT_SQL_PROFILE(  task_name => ’my_task’,   profile_name => ’my_profile’);   END;   Which advisor will analyze this profile?()  

  • A、 SQL Access Advisor
  • B、 Undo Advisor
  • C、 Segment Advisor
  • D、 SQL Tuning Advisor

正确答案:D

第3题:

You have an SQL query that takes one minute to execute. You use the following code segment to execute theSQL query asynchronously.Dim ar As IAsyncResult = cmd.BeginExecuteReader()You need to execute a method named DoWork() that takes one second to run while the SQL query is executing.DoWork() must run as many times as possible while the SQL query is executing.Which code segment should you use?()

A.

B.

C.

D.


参考答案:B

第4题:

Which built-in would you use to test whether the CREATE TABLE command issued in the SALES form executed successfully?()

  • A、FORMS_DDL 
  • B、DO_SQL 
  • C、FORM_SUCCESS 
  • D、FORM_NOT_SUCCESS
  • E、DBMS.ERROR_CODE

正确答案:C

第5题:

Your organization decided to upgrade the existing Oracle 10g database to Oracle 11g database in a multiprocessor environment. At the end of the upgrade,you observe that the DBA executes the following script:   SQL> @utlrp.sql   What is the significance of executing this script?()  

  • A、 It performs parallel recompilation of only the stored PL/SQL code.
  • B、 It performs sequential recompilation of only the stored PL/SQL code.
  • C、 It performs parallel recompilation of any stored PL/SQL as well as Java code.
  • D、 It performs sequential recompilation of any stored PL/SQL as well as Java code.

正确答案:C

第6题:

The database Is configured in ARCHIVELOG mode. The database needs to be up 24 X 7. You want to perform user managed backup for the data files of the HR_DATA tablespace.To accomplish the task, you issued the following command:SQL> ALTER TABLESPACE hi_data BEGIN BACKUP;Which two statements are true in this scenario? ()

A. No transaction on the tablespace is allowed but you can perform queries.

B. The tablespace will automatically come out of backup mode when the file copy is complete.

C. The checkpoint change number is frozen in headers of the data files until the file is removed from backup mode.

D. The database writes the before image of an entire block to the redo stream before modifying. block tor the first time.


参考答案:A, C

第7题:

Where can you add your own PL/SQL code in relation-handling triggers?()

  • A、Before the "End default relation program section" comment. 
  • B、After the "Begin default relation program section" comment. 
  • C、Before the "Begin default relation program section" comment. 
  • D、It is not possible to modify the relation-handling code that Forms automatically creates for relations.

正确答案:C

第8题:

Examine the following command used to perform incremental level 0 backup:RMAN> BACKUP INCREMENTAL LEVEL 0 DATABASE;To enable the block change tracking, after the incremental level 0 backup you issued the following command:SQL> ALTER DATABASE ENABLE BLOCK CHANGE TRACKING USINGFILE ‘/mydir/rman_change_track.f‘;To perform incremental level 1 cumulative backup, you issued the following command:RMAN> BACKUP INCREMENTAL LEVEL 1 CUMULATIVE DATABASE;Which two statements are true in the above situation?()

A. The block change tracking data will be used only from the next incremental 0 backup.

B. The incremental backup will use change tracking data for accomplishing the backup.

C. The incremental backup will not use change tracking data for accomplishing the backup.

D. The block track file will scan all the blocks and create bitmap for all the blocks backed up in the level 0 backup.


参考答案:A, C

第9题:

You issued the following command to analyze the SCOTT.EMP table for block corruption:   ANALYZE TABLE SCOTT.EMP VALIDATE STRUCTURE;  You received the following error:   ORA-01578: ORACLE data block corrupted  (file # %s, block # %s)   How will you resolve the block corruption problem?()

  • A、 by using the DBMS_REPAIR package
  • B、 by using the DB_BLOCK_CHECKING parameter
  • C、 by using the DBVERIFY utility
  • D、 will not be completely resolved until the hardware fault is corrected

正确答案:D

第10题:

You created the ORDERS table in your database by using the following code:   SQL> CREATE TABLE ORDERS (ORDER_DATE TIMESTAMP(0) WITH TIME ZONE);   Then, you inserted data in the ORDERS table and saved it by issuing the following statements:SQL> INSERT INTO ORDERS VALUES(’18-AUG-00 10:26:44 PM America/New_York’);   SQL> INSERT INTO ORDERS VALUES(’23-AUG-02 12:46:34 PM America/New_York’);   SQL> COMMIT;   Next, you issued the following statement to change the time zone for the database:   SQL> ALTER DATABASE SET TIME_ZONE=’Europe/London’;   What will be the result of executing the above statement?()  

  • A、 The statement will fail.
  • B、 The statement will be executed successfully, and the new time zone will be set for the database.
  • C、 The statement will be executed successfully, but the new time zone will be set for the current session.
  • D、The statement will be executed successfully, but the new time zone will neither be set for the database nor for a specific session.

正确答案:A

更多相关问题