DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: Privileges for the database procedures and functions

Hybrid View

  1. #1
    Join Date
    Nov 2000
    Posts
    34

    Angry

    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.

  2. #2
    Join Date
    Dec 2000
    Posts
    2

    Arrow 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
  •  


Click Here to Expand Forum to Full Width