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 question

Re: sql question

From: Jonathan Lewis <jonathan_at_jlcomp.demon.co.uk>
Date: Fri, 2 Apr 2004 10:11:54 +0100
Message-ID: <002601c41892$8c81dfb0$7102a8c0@Primary>

But what about hints like:

    AND_EQUAL(T1 I1 I2)
    INDEX_COMBINE(T1 BI1 BI2 BI3) Regards

Jonathan Lewis
http://www.jlcomp.demon.co.uk

The Co-operative Oracle Users' FAQ
http://www.jlcomp.demon.co.uk/faq/ind_faq.html

April 2004 Iceland http://www.index.is/oracleday.php June 2004 UK - Optimising Oracle Seminar

Igor,
I think it should be:

select SUBSTR(hint, INSTR(hint,' ') + 1, LENGTH(hint) - INSTR(hint,' ') - 1),

       count(*)
  from dba_outline_hints
 where hint like '%INDEX%'
GROUP BY (SUBSTR(hint, INSTR(hint,' ') + 1, LENGTH(hint) - INSTR(hint,' ') - 1));



Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--

Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
Received on Fri Apr 02 2004 - 03:08:15 CST

Original text of this message

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