RE: Strategies for dealing with (NOT EQUAL) conditions and indexes

From: Taylor, Chris David <>
Date: Thu, 17 Nov 2011 11:35:57 -0600
Message-ID: <>

Interesting. Between that entry and Mark F's information earlier, I now understand more of the "why" an index range scan is not available when using an inequality.

Very interesting stuff indeed.

I do like Mark's and Richard's approach of using x < y OR x > y to get a RANGE scan. I'm going to have keep that in my toolbox.

Chris Taylor
Sr. Oracle DBA
Ingram Barge Company
Nashville, TN 37205

"Quality is never an accident; it is always the result of intelligent effort." -- John Ruskin (English Writer 1819-1900)

CONFIDENTIALITY NOTICE: This e-mail and any attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately and delete the contents of this message without disclosing the contents to anyone, using them for any purpose, or storing or copying the information on any medium.

-----Original Message-----
From: Dom Brooks [] Sent: Thursday, November 17, 2011 11:21 AM To:
Cc: Taylor, Chris David; Sidney Chen; <>; Stephens, Chris; <>; Jonathan Lewis Subject: Re: Strategies for dealing with (NOT EQUAL) conditions and indexes

For more info on this behaviour see:

One alternative if absolutely necessary might be an FBI using CASE for example to turn inequality predicate into equality.


Received on Thu Nov 17 2011 - 11:35:57 CST

Original text of this message