剑轩

oracle角色相关查询

电脑版发表于:2018/10/11 15:20


--查询所有的角色

  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';


关于TNBLOG
TNBLOG,技术分享。技术交流:群号677373950
ICP备案 :渝ICP备18016597号-1
App store Android
精彩评论
{{item.replyName}}
{{item.content}}
{{item.time}}
{{subpj.replyName}}
@{{subpj.beReplyName}}{{subpj.content}}
{{subpj.time}}
猜你喜欢