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: DBMS_SQL to Create views

RE: DBMS_SQL to Create views

From: Koivu, Lisa <lisa.koivu_at_efairfield.com>
Date: Mon, 24 Sep 2001 10:02:34 -0700
Message-ID: <F001.003967CB.20010924101648@fatcity.com>

Hi Kevin, this is kind of changing the topic... but why are you creating procedures as SYS?? Seems to me upgrades, patches, etc. would possibly endanger your procedure.  I always thought of it as sys owning all the code that runs the database, data dictionary, etc. and user code belonged somewhere else. 

Sorry I'm not answering your question but posing another.

Lisa Koivu
Oracle Database Administrator
Fairfield Resorts, Inc.
954-935-4117

-----Original Message-----

From:   Kevin Lange [SMTP:kgel_at_ppoone.com]
Sent:   Monday, September 24, 2001 1:40 PM
To:     Multiple recipients of list ORACLE-L
Subject:        RE: DBMS_SQL to Create views

I had originally created the Procedure under SYS after first having PCM$ granting SELECT explicitly on the tables involved.  I made sure SYS could CREATE ANY VIEW . On both the DEV and the TEST instances I DIRECTLY granted select on the tables to the ID   RRS.

On the DEV instance RRS can run the procedure and it will create the view.

On the TEST instance RRS gets the error of Insufficient privileges .

I thought maybe it was that RRS could not run the DBMS_SQL routines so I granted execute directly from sys to RRS on those.   No dice.

I am STUMPED at this point.

Kevin

-----Original Message-----
Sent: Monday, September 24, 2001 12:16 PM To: Multiple recipients of list ORACLE-L

Have you granted explicitly to the user ?. How about AUTHID ?. Have you created the procedure with the default value of this clause ?.

Regards.


Eng. Christian Trassens
Senior DBA
Systems Engineer
ctrassens_at_yahoo.com
ctrassens_at_hotmail.com
Phone : 541149816062

Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger. http://im.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Christian Trassens
  INET: ctrassens_at_yahoo.com


Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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: Kevin Lange
  INET: kgel_at_ppoone.com


Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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 Mon Sep 24 2001 - 12:02:34 CDT

Original text of this message

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