Return-Path: <root@fatcity.cts.com>
Received: from ensim.rackshack.net (root@localhost)
 by orafaq.net (8.11.6/8.11.6) with ESMTP id gBONG9h12572
 for <oracle-l@orafaq.net>; Tue, 24 Dec 2002 17:16:09 -0600
X-ClientAddr: 209.68.248.164
Received: from newsfeed.cts.com (newsfeed.cts.com [209.68.248.164])
 by ensim.rackshack.net (8.11.6/8.11.6) with ESMTP id gBONG9c12567
 for <oracle-l@orafaq.net>; Tue, 24 Dec 2002 17:16:09 -0600
Received: from fatcity.UUCP (uucp@localhost)
 by newsfeed.cts.com (8.9.3/8.9.3) with UUCP id LAA73633;
 Tue, 24 Dec 2002 11:58:21 -0800 (PST)
Received: by fatcity.com (26-Feb-2001/v1.0g-b72/bab) via UUCP id 00521D8B; Tue, 24 Dec 2002 11:13:39 -0800
Message-ID: <F001.00521D8B.20021224111339@fatcity.com>
Date: Tue, 24 Dec 2002 11:13:39 -0800
To: Multiple recipients of list ORACLE-L <ORACLE-L@fatcity.com>
X-Comment: Oracle RDBMS Community Forum
X-Sender: "Shaleen" <shgarg_orafaq@hotmail.com>
Sender: root@fatcity.com
Reply-To: ORACLE-L@fatcity.com
Errors-To: ML-ERRORS@fatcity.com
From: "Shaleen" <shgarg_orafaq@hotmail.com>
Subject: unable to create stored outline for sql inside a procedure --Resolved
Organization: Fat City Network Services, San Diego, California
X-ListServer: v1.0g, build 72; ListGuru (c) 1996-2001 Bruce A. Bergman
Precedence: bulk
Mime-Version: 1.0
Content-Type: multipart/alternative;	boundary="----=_NextPart_000_000D_01C2AB3D.2AE91BB0"
------=_NextPart_000_000D_01C2AB3D.2AE91BB0
Content-Type: text/plain;
 charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

All,

Oracle support was able to resolve this issue for me and I would like to =
share the learning. The problem was that I was unable to create stored =
outline for sql executing within a stored procedure after turning =
create_stored_outlines=3Dtrue. Create outlines for sql satetements =
executing from sqlplus/plsql blocks was not an issue.

The problem is resolved by granting create any outline privilege to the =
user explicitly.

Once I again I was bit by the limitation of roles not passing privilege =
within stored procedures and this has to be done explicitly. Why oracle =
has this limitation beats me!!

Thanks for help Jared & Raj.

Shaleen

------=_NextPart_000_000D_01C2AB3D.2AE91BB0
Content-Type: text/html;
 charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2722.900" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>All,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Oracle support was able to resolve this =
issue for=20
me and I would like to share the learning. The problem was that I was =
unable to=20
create stored outline for sql executing within a stored procedure after =
turning=20
create_stored_outlines=3Dtrue. Create outlines for sql satetements =
executing from=20
sqlplus/plsql blocks was not an issue.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>The problem is resolved by granting =
create any=20
outline privilege to the user explicitly.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Once I again I was bit by the =
limitation of roles=20
not passing privilege within stored procedures and this has to be done=20
explicitly. Why oracle has this limitation beats me!!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks for help Jared &amp; =
Raj.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Shaleen</FONT></DIV></BODY></HTML>

------=_NextPart_000_000D_01C2AB3D.2AE91BB0--
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Shaleen
  INET: shgarg_orafaq@hotmail.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@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).

