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: PL/SQL privileges

Re: PL/SQL privileges

From: Jeremy <newspostings_at_hazelweb.co.uk>
Date: Thu, 20 May 2004 11:19:47 +0100
Message-ID: <MPG.1b16969def34f68989c04@news.individual.net>


In article <c8hvrf$6mc$1_at_unbe.sarenet.es>, Jon says...
> Hi,
>
> A user has "create any table" privileges and the same user has a procedure
> with
>
> "execute immedate 'create table ...'"
>
> when the user tries to run the procedure, it returns the following error
>
> "ORA-01031: insufficient privileges"
>

You'll probably find that the procedure is effectively trying to create the table under the user that 'owns' the procedure, rather than that which is executing it.

-- 

jeremy
Received on Thu May 20 2004 - 05:19:47 CDT

Original text of this message

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