Darlene, Make sure the schema running the package has the "Create View" priv directly assigned to it (not thru a role - even the DBA role).
this should clear it up. (I sound like a doctor!) Tom Mercadante Oracle Certified Professional -----Original Message----- Sent: Wednesday, December 11, 2002 2:00 PM To: Multiple recipients of list ORACLE-L 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: Mercadante, Thomas F 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).