oraenv ORACLE_SID = [oracle] ?

$ . oraenv
ORACLE_SID = [oracle] ? cdb1
The oraclebasefor 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
Coppyright (c) 1982, 2013, oracle and/or its affiliates. All rights reserved.
Connected to target database:CDB1 (DBID=782249327)
RMAN>SELECT name FROMv$tablespace;
Which statement is true about the execution of the last command?

$ . oraenv
ORACLE_SID = [oracle] ? cdb1
The oraclebasefor 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
Coppyright (c) 1982, 2013, oracle and/or its affiliates. All rights reserved.
Connected to target database:CDB1 (DBID=782249327)
RMAN>SELECT name FROMv$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 2

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