Professional Documents
Culture Documents
Objectives
1-2
Database
administrator
1-3
Privileges
Database security:
System security
Data security
1-4
System Privileges
1-5
Creating Users
The DBA creates users with the CREATE USER
statement.
CREATE USER user
IDENTIFIED BY
password;
CREATE USER HR
IDENTIFIED BY
HR;
User created.
1-6
1-7
CREATE
CREATE
CREATE
CREATE
CREATE
SESSION
TABLE
SEQUENCE
VIEW
PROCEDURE
1-8
What Is a Role?
Users
Manager
Privileges
Allocating privileges
without a role
1-9
Allocating privileges
with a role
Create a role
1-10
1-11
Object Privileges
Object
Privilege
Table
ALTER
DELETE
View
Sequence
EXECUTE
1-12
Procedure
INDEX
INSERT
REFERENCES
SELECT
UPDATE
Object Privileges
1-13
GRANT select
ON
employees
TO
sue, rich;
Grant succeeded.
1-14
GRANT select
ON
alice.departments
TO
PUBLIC;
Grant succeeded.
1-15
Description
ROLE_SYS_PRIVS
ROLE_TAB_PRIVS
USER_ROLE_PRIVS
1-16
1-17
1-18
Summary
In this lesson, you should have learned about
statements that control access to the database and
database objects.
1-19
Statement
Action
CREATE USER
GRANT
CREATE ROLE
ALTER USER
REVOKE
Practice 1: Overview
1-20