QuestionQ86

VerifiedControlling User Access

You need to complete these tasks:

  1. Create and assign a MANAGER role to Blake and Clark.
  2. Grant the CREATE TABLE and CREATE VIEW privileges to Blake and Clark.

Which set of SQL statements accomplishes the required results?

Explanation

In Oracle Database, a role is created with CREATE ROLE, system privileges can be granted to that role with GRANT ... TO role, and the role is assigned to users with GRANT role TO user. CREATE TABLE authorizes table creation in the grantee’s schema, and CREATE VIEW authorizes view creation in the grantee’s schema.

Learn more

Community Discussion

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