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: Table not accessible through Stored Proc

Re: Table not accessible through Stored Proc

From: Frank van Bortel <frank.van.bortel_at_gmail.com>
Date: Tue, 24 Jan 2006 20:39:45 +0100
Message-ID: <dr5v43$ncc$1@news3.zwoll1.ov.home.nl>


raghu wrote:
> I am able to run select queries on a table through sql and anonymous
> pl/sql scripts. But cannot run the same query through a stored
> procedure. I get the error 'PL/SQL: ORA-00942: table or view does not
> exist'.
> What might be the problem?
>
> Thanks.
>

You.

You are not reading documentation.
You are not searching the net
You are not searching the usenet archives.

In order to avoid the 942, grant access
to the table *directly* (not via a role), and next time test after you issued:
set role none

-- 
Regards,
Frank van Bortel

Top-posting is one way to shut me up...
Received on Tue Jan 24 2006 - 13:39:45 CST

Original text of this message

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