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: Specifying an INDEX in a SELECT statement

Re: Specifying an INDEX in a SELECT statement

From: Pat <smartinp_at_iconz.co.nz>
Date: 1998/01/30
Message-ID: <6as61k$d6v$1@news.iconz.co.nz>#1/1

Hi Chuck.

What you want is a 'hint' e.g.

select ....
from /*+ INDEX YOURINDEX */ YOURTABLE

hint is enclosed in comments /* . . . */ and + INDEX is the one you are after, not sure of exact syntax so you may have to try a few or look up hints in 'Oracle7 Server Tuning' if you have one...

Chuck Bayes wrote in message
<01bd2d03$0e237b00$6b421cac_at_CBAYES.wins.compaq.com>...
>I know it's a simple task (or at least it is in Sybase), but can anyone
>tell me how to force a query to use a specific index.
>
>Thanks in advance.
>
>Chuck
Received on Fri Jan 30 1998 - 00:00:00 CST

Original text of this message

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