Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: ora-01031 error
If, "All objects addressed are owned by the schema authoring and executing
the package", then my guess,
it should have to do something with granting privileges (like "create any
view") directly to schema owner (not through role).
Igor Neyman, OCP DBA
ineyman_at_perceptron.com
> Hi Folks,
>
> Forgive me if this is a stupid question, but I've consulted the esteem
> manuals and my brain appears to be dysfunctional today.
>
> I'm trying to create some views from within a package of stored
> procedures using dynamic sql. If I run the scripts in sqlplus all is
> well. If I try it inside a package of stored procedures using execute
> immediate I get the ORA 01031 insufficient privs error. All objects
> addressed are owned by the schema authoring and executing the package of
> stored procedures. What am I missing?
>
> Thanks,
> D
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Darlene Marley
> INET: dmarley_at_sfwmd.gov
>
> Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
>
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Igor Neyman INET: ineyman_at_perceptron.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Wed Dec 11 2002 - 13:30:08 CST
![]() |
![]() |