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

后端 未结 1 645
闹比i
闹比i 2021-01-28 19:00

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条回答
  •  太阳男子
    2021-01-28 19:12

    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';
    

    0 讨论(0)
提交回复
热议问题