分类:
数据库
--查询所有的角色
select * from dba_roles
--查询角色具有的系统权限
select * from dba_sys_privs where grantee ='DBA'
--查询角色具有的对象权限
select * from dba_tab_privs where grantee ='DBA'
--角色拥有的角色权限
select * from dba_role_privs where grantee ='DBA'
--查看哪些用户被授予了DBA权限
select * from dba_role_privs where granted_role='DBA';
欢迎加群讨论技术,群:677373950(满了,可以加,但通过不了),2群:656732739
评价