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: Christian Antognini <Christian.Antognini_at_trivadis.com>
Date: Wed, 12 Apr 2006 07:22:22 +0200
Message-ID: <F2C9CCA71510B442AF71446CAE8AEBAF3F5875@MSXVS04.trivadis.com>


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
Received on Wed Apr 12 2006 - 00:22:22 CDT

Original text of this message

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