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: SQL stored outlines

RE: SQL stored outlines

From: Allen, Brandon <Brandon.Allen_at_OneNeck.com>
Date: Fri, 24 Aug 2007 10:19:54 -0700
Message-ID: <04DDF147ED3A0D42B48A48A18D574C4508B6E621@NT15.oneneck.corp>


select outline_category from v$sql where sql_id = <your_sql_id>;

OR

  1. execute dbms_outln.clear_used('<your_outline_name>');
  2. run your query
  3. select used from dba_outlines where name = '<your_outline_name>';

Regards,
Brandon

-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of richa03_at_gmail.com

Is there any way to determine if a SQL statement entered via SQL*Plus is using a stored outline other than the fact that the plan changes?

Privileged/Confidential Information may be contained in this message or attachments hereto. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of this company shall be understood as neither given nor endorsed by it.

--
http://www.freelists.org/webpage/oracle-l
Received on Fri Aug 24 2007 - 12:19:54 CDT

Original text of this message

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