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 [EMAIL PROTECTED] ----- Original Message ----- To: "Multiple recipients of list ORACLE-L" <[EMAIL PROTECTED]> Sent: Wednesday, December 11, 2002 2:00 PM > 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: [EMAIL PROTECTED] > > 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: [EMAIL PROTECTED] (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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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).
