1. ·ÑÀÌ °¡Áö´Â ±ÇÇÑ º¸±â
select * from dba_sys_privs where grantee='CONNECT';
GRANTEE PRIVILEGE ADM
------------------------------ ---------------------------------------- ---
CONNECT CREATE VIEW NO
CONNECT CREATE TABLE NO
CONNECT ALTER SESSION NO
CONNECT CREATE CLUSTER NO
CONNECT CREATE SESSION NO
CONNECT CREATE SYNONYM NO
CONNECT CREATE SEQUENCE NO
CONNECT CREATE DATABASE LINK NO
2. »ç¿ëÀÚ¿¡°Ô ºÎ¿©µÈ ·Ñ º¸±â
select * from dba_role_privs where grantee='NESTAR';
GRANTEE GRANTED_ROLE ADM DEF
------------------------------ ------------------------------ --- ---
NESTAR DBA NO YES
NESTAR CONNECT NO YES
3. ·Ñ »ý¼º ¹× ±ÇÇÑ ºÎ¿©Çϱâ
create role sales_clerk;
grant sales_clerk to scott;
|