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

Home -> Community -> Usenet -> c.d.o.server -> Re: 'insufficient privileges' from DBMS_SQL.PARSE call

Re: 'insufficient privileges' from DBMS_SQL.PARSE call

From: fanda <fanda_at_bigfoot.com>
Date: Fri, 16 Apr 1999 09:32:39 +0200
Message-ID: <3716E797.1AF2@bigfoot.com>


Thomas Kyte wrote:

>
> roles are never enabled during the execution of a procedure.
>
> Try this:
>
> SQL> set role none;
> SQL> "statement you want to test to see if it'll work in a procedure"
>
> If you can do it in plus with no roles you can do it in a procedure. If you
> can't, you must have the privelege from a role and hence won't be able
> to do it in a procedure.
>
> You probably have the privelege to do what you are trying to do in the procedure
> via a role. Grant the privelege directly to the owner of the procedure and
> it'll work.
>
> grant <priv> to <OWNER>;
>

This work fine. Thank you !



fanda Received on Fri Apr 16 1999 - 02:32:39 CDT

Original text of this message

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