I have an Oracle database with some user defined roles. I would like to create a new role with very similar privileges (it would be the same role for a different schema) , but I can't figure out what privileges does this role grant.
Is there a query which I can use to figure that out?
(I tried
SELECT * FROM DBA_TAB_PRIVS
WHERE GRANTEE IN
(SELECT granted_role FROM DBA_ROLE_PRIVS
WHERE GRANTEE = 'USER');
from an answer for another question, but I got no rows selected
.)