QuestionQ97

VerifiedControlling User Access
  1. MANAGER is an existing role that has no privileges or roles.
  2. EMP is an existing role that contains the CREATE TABLE privilege.
  3. EMPLOYEES is an existing table in the HR schema.

Which two commands run successfully?

Choose two
Explanation

Oracle allows system privileges and roles to be granted together in one GRANT statement, so granting CREATE SEQUENCE to both roles and granting CREATE TABLE together with the EMP role to MANAGER are valid. CREATE ANY SESSION is not a valid system privilege; WITH GRANT OPTION cannot be granted to a role; and object privileges cannot be combined with system privileges or roles in the same GRANT statement.

Learn more

Community Discussion

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