-
Hi,
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.
admala.
-
privileges for procedures/packages/functions
Hi admala,
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!
Ramesh...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|