Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: ora-01031 error

RE: ora-01031 error

From: Mercadante, Thomas F <NDATFM_at_labor.state.ny.us>
Date: Wed, 11 Dec 2002 11:24:47 -0800
Message-ID: <F001.00517E26.20021211112447@fatcity.com>


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: 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: Mercadante, Thomas F
  INET: NDATFM_at_labor.state.ny.us
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:24:47 CST

Original text of this message

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