Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: what grant should be given?
On Thu, 17 Sep 1998 08:01:31 GMT, hpcheong_at_ncs.com.sg wrote:
>hi there,
>
>i need to grant a user so that he could run packages himeself with his
>account.
>
>what grant should that be?
GRANT EXECUTE ON package_name TO user_name;
or
GRANT EXECUTE ON package_name TO role_name; (and grant this role to
user)
Note that user will have to reference the package with the full name,
including package owner
(i.e.: owner_schema.package_name.procedure_or_function)
unless a synonym for this package is available.
>thanks in advance
>
>rgds,
>evelyn.
HTH,
--
Jurij Modic <jmodic_at_src.si>
Certified Oracle7 DBA (OCP)