SELECT DRP.GRANTED_ROLE,RSP.PRIVILEGE FROM DBA_ROLE_PRIVS DRP INNER JOIN ROLE_SYS_PRIVS RSP ON DRP.GRANTED_ROLE = RSP.ROLE WHERE GRANTEE = 'ACLTEST' ;
其中ACLTEST为用户名;
SELECT DRP.GRANTED_ROLE,RSP.PRIVILEGE FROM DBA_ROLE_PRIVS DRP INNER JOIN ROLE_SYS_PRIVS RSP ON DRP.GRANTED_ROLE = RSP.ROLE WHERE GRANTEE = 'ACLTEST' ;
其中ACLTEST为用户名;