应无所住,而生其心
排名
6
文章
6
粉丝
16
评论
8
{{item.articleTitle}}
{{item.blogName}} : {{item.content}}
ICP备案 :渝ICP备18016597号-1
网站信息:2018-2025TNBLOG.NET
技术交流:群号656732739
联系我们:contact@tnblog.net
公网安备:50010702506256
欢迎加群交流技术

oracle角色相关查询

3819人阅读 2018/10/11 15:20 总访问:5038983 评论:0 收藏:0 手机
分类: 数据库


--查询所有的角色

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


欢迎加群讨论技术,1群:677373950(满了,可以加,但通过不了),2群:656732739。有需要软件开发,或者学习软件技术的朋友可以和我联系~(Q:815170684)

评价