【Oracle】查看oracle用户相关权限

系统权限

SELECT *

FROM DBA_SYS_PRIVS

WHERE GRANTEE = ‘CHAXUN’

UNION ALL

SELECT *

FROM DBA_SYS_PRIVS

WHERE GRANTEE IN

     (SELECT GRANTED_ROLE FROM DBA_ROLE_PRIVS WHERE GRANTEE = ‘CHAXUN’);

对象权限

SELECT *

FROM DBA_TAB_PRIVS

WHERE GRANTEE = ‘CHAXUN’

UNION ALL

SELECT *

FROM DBA_TAB_PRIVS

WHERE GRANTEE IN

     (SELECT GRANTED_ROLE FROM DBA_ROLE_PRIVS WHERE GRANTEE = ‘CHAXUN’);

    原文作者:zclinux_
    原文地址: https://blog.csdn.net/imliuqun123/article/details/78873738
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞