| 1. |
What are privileges and roles? |
|
Answer» The Privileges defines the access rights given to a user on a database object. There are two types of privileges.
Few CREATE system privileges are listed below: CREATE object – allows users to create the specified object in their own schema. Few of the object privileges are listed below:
Roles: Some of the privileges granted to the system roles are as given below: 1. CONNECT – CREATE TABLE, CREATE VIEW, CREATE SYNONYM, CREATE SEQUENCE, CREATE SESSION, etc. 2. RESOURCE – CREATE PROCEDURE, CREATE SEQUENCE, CREATE TABLE, CREATE TRIG-GER, etc. The primary usage of the RESOURCE role is to restrict access to database objects. DBA- ALL SYSTEM PRIVILEGES. |
|