Sie sind auf Seite 1von 1

....

2 types of priviliges :
system priviliges --> 1---give user access to login
object priviliges---> 2---user can access table, update table etc.

more than 100 priviliges...

create user user1 identified by password;

CREATE SESSION
CREATE VIEW
CREATE SEQUENCE

GRANT CREATE SESSION, CREATE VIEW, CREATE SEQUENCE... TO USER1;

GRANT --> give access

GRANT select ON tableName TO USER1, user2....;

grant update (dept_name, location_id) on dept to scott, manager;

grant select, insert.......

grant select on user1.tableName on PUBLIC;----------------------------------

SQL SECURITY...

system is the administrator...


if want to create new account, use system account.

first give access to user to login to system...

when he creates table, error occurr ?why? only login access provided....
to create table, give second type of access..

one table from one account cannnot be accessed from another account....first
will have to give access that user jack can access that table in that
account...using grant command..in the admin user..

Das könnte Ihnen auch gefallen