QuestionQ65

VerifiedPrivileges

In your multitenant container database (CDB) with pluggable databases (PDBs), you granted the CREATE TABLE privilege to common user C # # A_ADMIN in the root and in all PDBs. You run the following command from the root container:

SQL > REVOKE create table FROM C # # A_ADMIN;  

What is the outcome?

Explanation

A privilege granted commonly to a common user across the CDB must be revoked with CONTAINER=ALL from the root. When the CONTAINER clause is omitted, Oracle defaults to CONTAINER=CURRENT, which can revoke only a locally granted privilege in the root and cannot revoke the common grant; the statement therefore reports an error.

Learn more

Community Discussion

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