You are on page 1of 1

----Basic roles that can be granted to the new user

Grant CONNECT,RESOURCE to <USER>;


---Connect role grants CREATE SESSION privilege only
---Resource role grants the following privileges to user
CREATE CLUSTER, CREATE INDEXTYPE, CREATE OPERATOR,
CREATE PROCEDURE, CREATE SEQUENCE, CREATE TABLE, CREATE TRIGGER,
CREATE TYPE
Note : RESOURCE role doesn't grant CREATE VIEW, CREATE SYNONYM privileges
---OBJECT PRIVILEGES
1>Table/View privileges
--DML
Grant DELETE, INSERT, SELECT,UPDATE on <OBJECT> to <USER>;
--DDL
Grant ALTER on <OBJECT> to <USER>;
Note : Index and references are also DDL privileges that can be granted on objec
t.
System Dictionary for privilegs
1> ALL_TAB_PRIVS_RECD - Lists the granted privileges on objects for all users
2> DBA_SYS_PRIVS - Lists granted system privileges for all users
3> DBA_ROLE_PRIVS - Lists Granted roles for all users

You might also like