Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Forcing not to use an index in 7.1.6?

Re: Forcing not to use an index in 7.1.6?

From: Bob Morrison <rmorrison_at_cahners.com>
Date: 1997/04/02
Message-ID: <3342971A.6023@cahners.com>#1/1

amit srivastava wrote:
>
> Is it possible to force Oracle to not to use an index,
> because using a particular index will actually slow down the
> performance for a query?
>
> -amit

The best way to force and index not to be used, is to add a function to the column in the where column. Such as:

Select *
from Table
where index_col = 'A';

could become:

Select *
from Table
where Nvl(index_col,'') = 'A';

Hope this helps.

Bob Morrison Received on Wed Apr 02 1997 - 00:00:00 CST

Original text of this message

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