How can i see if an owner has permissions to execute a Store Procedure in Oracle

≯℡__Kan透↙ 提交于 2019-12-02 18:57:59

问题


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!!


回答1:


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!