Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Grants for functions...

Re: Grants for functions...

From: Stanley Fung <sfung_at_mdsi.bc.ca>
Date: Mon, 25 May 1998 10:27:30 -0700
Message-ID: <3569AA02.768D@mdsi.bc.ca>


Also, you need to grant EXECUTE on fuction zz to user a too.

Ken Burnside wrote:
>
> I have two distinct users on a single system:
>
> User a owns table xx
>
> User b owns a function (zz) that does a count(*) from table xx.
>
> The function compiles without errors, but when executed from user a's
> connection... does not work... (reports a numeric or value error). What it
> does is return a null... instead of the number of rows..
>
> I have to grant the select priv. on table xx to user b in order for it to
> actually return the number of rows...
>
> Is this a bug.... and if so, is there a work around... ?
>
> Thanks..

--


Stanley Fung                 | Software Analyst
Mobile Data Solutions Inc.   | Direct Line: (604)207-6290
Suite 135                    | Tel:         (604)270-9939
10551 Shellbridge Way,       | Fax:         (604)270-1310
Richmond, B.C.               | E-Mail:      sfung_at_mdsi.bc.ca
Canada V6X-2W9               | http://www.mdsi-advantex.com

------------------------------------------------------------
Received on Mon May 25 1998 - 12:27:30 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US