Please try to answer me how do i find the privileges for the procedures and functions in the database. (data dictionary view name).
Thanks in advance.
privileges for procedures/packages/functions
You can get the details from all_tab_privs. For example to get the privileges list of package 'PACKAGENAME' owned by 'PKGOWNER' .
You should give the following query (as any user which is having selecT_catalog_role ):-
select privilege,grantee,grantable from all tab_privs where
table_name like 'PACKAGENAME' and table_schema like 'PKGOWNER' ;
the typical output will be like this : -
PRIVILEGE GRANTEE GRANTABLE
------------- ----------- --------------
EXECUTE PUBLIC NO
Note: I think u got confused by the column name. Yes column names are misguiding!
Click Here to Expand Forum to Full Width