select * from dba_role_privs where grantee = 'userA';
查询某角色的权限:
SELECT * FROM all_tab_privs WHERE GRANTEE = 'roleA';
查询当前用户的权限:
select * from user_sys_privs;
select * from dba_role_privs where grantee = 'userA';
SELECT * FROM all_tab_privs WHERE GRANTEE = 'roleA';
select * from user_sys_privs;