QuestionQ108

VerifiedOracle Database Architecture

You are connected through SQL*Plus to a multitenant container database (CDB) with SYSDBA privileges and run the following statements in sequence:

Question Image

What is the outcome of the final SET CONTAINER statement, and why?

Explanation

ALTER SESSION SET CONTAINER requires the current user to be a common user with the SET CONTAINER privilege. PDB_ADMIN is a local user created in NEW_PDB; granting it SET CONTAINER does not make it eligible to switch containers. PDB$SEED is itself a permitted target for the statement.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!