oraenv ORACLE-_SID = [oracle] ?

You execute the commands on a multitenant container database CDB1 that has multiple pluggable databases:

$ . oraenv
ORACLE-_SID = [oracle] ? cdb1
The oracle base for ORACLE_HOME=/u01/app/oracle/product/12.1.0/dbhome_1 is
/u01/app/oracle $ rman target /
Recovery Manager: Release 12.1.0.0.2 – production on Fri Ju1 19 05:18:33: 2013 Copy right (c) 1982, 2013, oracle and/or its affiliates. All rights reserved.
Connected to target database:CDB1 (DBID=782249327) RMAN>SELECT name FROM v$tablespace;

Which statement is true about the execution of the last command?

You execute the commands on a multitenant container database CDB1 that has multiple pluggable databases:

$ . oraenv
ORACLE-_SID = [oracle] ? cdb1
The oracle base for ORACLE_HOME=/u01/app/oracle/product/12.1.0/dbhome_1 is
/u01/app/oracle $ rman target /
Recovery Manager: Release 12.1.0.0.2 – production on Fri Ju1 19 05:18:33: 2013 Copy right (c) 1982, 2013, oracle and/or its affiliates. All rights reserved.
Connected to target database:CDB1 (DBID=782249327) RMAN>SELECT name FROM v$tablespace;

Which statement is true about the execution of the last command?

A.
It succeeds and displays all the tablespaces that belong to the root database.

B.
It fails and returns an error because a connection is not made by using the sysdba privilege.

C.
It succeeds and displays all the tablespaces that belong to the root and pluggable databases.

D.
It fails and returns an error because SQL commands cannot be executed at the RMAN prompt.



Leave a Reply 3

Your email address will not be published. Required fields are marked *