I need to validate if my owner has permissions to execute a store procedure, but i have to do it searching on a sys table. In which table i can find it.
Thank you!!
Sandeep
Contrary to its name, DBA_TAB_PRIVS allows us to see granted privileges on all objects, not just table.
select * from DBA_TAB_PRIVS
where type='PROCEDURE'
and privilege='EXECUTE'
and OWNER='SCHEMANAME'
AND TABLE_NAME='PROCEDURENAME';
来源:https://stackoverflow.com/questions/35776327/how-can-i-see-if-an-owner-has-permissions-to-execute-a-store-procedure-in-oracle