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: Granting roles from stored procedure

Re: Granting roles from stored procedure

From: jared still <jared_at_psnw.com>
Date: 1997/03/10
Message-ID: <3323a249.85310614@alpine.psnw.com>#1/1

hvanderz_at_ch2m.com wrote:

>
>For those missing the first post, here's a summary:
>
>I am trying to execute a grant role command from within a stored
>procedure. The owner of the stored procedure is WLF. WLF is able to
>grant the role from the SQL prompt but not from within the procedure.
>The error is ORA-00990: missing or invalid privilege. WLF has had the
>roles granted to it with the admin option, as well as the create role
>with admin option.
>
>TIA for your help.

You don't mention which version of the database you are on.

Try the dbms_session.set_role procedure.

Jared Still
ValueRx/RxNet
Oracle DBA - DG/UX Sysadmin - Part Time Perl Evangelist ;) jared_at_psnw.com
stillj_at_valuerx.com Received on Mon Mar 10 1997 - 00:00:00 CST

Original text of this message

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