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: HELP - PL/SQL using DBMS_SQL in Store Procedures doesn't work!

Re: HELP - PL/SQL using DBMS_SQL in Store Procedures doesn't work!

From: Tomm Carr <tommcatt_at_geocities.com>
Date: 1997/07/29
Message-ID: <33DE3565.47DB@geocities.com>#1/1

madhus_at_aquas.com wrote:
>
> My guess is that the tables: w_wellwork_common, w_selected_wellwork
> are not
> owned by the user under which you are logging in and executing. If
> this is
> the case, give select access on these tables directly to the user, not
> thru'
> a role. Procedures require direct access. Try this and it should work.
> good luck!
>

When executing a stored procedures, the access rights in effect are those of the owner of the SP. So the access should be given directly to the owner of the SP, not the user.

-- 
Tomm Carr
--
"Can you describe your assailant?"
"No problem, Officer.  That's exactly what I was doing when he hit me!"
Received on Tue Jul 29 1997 - 00:00:00 CDT

Original text of this message

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