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: How to get query to use an index

Re: How to get query to use an index

From: jaromir nemec <jaromir_at_db-nemec.com>
Date: Thu, 13 Apr 2006 08:21:47 +0200
Message-ID: <11eb01c65ec2$8ba60ee0$3c02a8c0@JARAWIN>


Hi Christian,

> Because there's an OR in the WHERE clause. It simply doesn't work.

Currently. May be some future release brings something like skip - range index scan:)

What about index fast full scan?

Jaromir
----- Original Message -----
From: "Christian Antognini" <Christian.Antognini_at_trivadis.com> To: <paulastankus_at_yahoo.com>
Cc: "oracle-l" <oracle-l_at_freelists.org>
Sent: Wednesday, April 12, 2006 7:22 AM
Subject: RE: How to get query to use an index

Paula

>Why not consider using a concatenated index with
>both columns versus writing the SQL statement as a
>Union All

Because there's an OR in the WHERE clause. It simply doesn't work.

HTH
Chris

--
http://www.freelists.org/webpage/oracle-l





--
http://www.freelists.org/webpage/oracle-l
Received on Thu Apr 13 2006 - 01:21:47 CDT

Original text of this message

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