查看用户所拥有的所有权限的sql语句


select privilege from dba_sys_privs where grantee='&USERNAME'
union
select privilege from dba_sys_privs where grantee in 
(select granted_role from dba_role_privs where grantee='&USERNAME' );

你可能感兴趣的:(oracle,调优)