查看某个用户被授予的角色
select * from dba_role_privs where grantee='SCOTT';
查询某个角色具有的权限(一看到这句话就要想到权限有系统权限system privilege与对像 object privilege)
select * from ROLE_SYS_PRIVS where ROLE='CONNECT'
select * from ROLE_TAB_PRIVS where ROLE='CONNECT'
查看某个用户被授予的角色
select * from dba_role_privs where grantee='SCOTT';
查询某个角色具有的权限(一看到这句话就要想到权限有系统权限system privilege与对像 object privilege)
select * from ROLE_SYS_PRIVS where ROLE='CONNECT'
select * from ROLE_TAB_PRIVS where ROLE='CONNECT'