Oracle FAQ
|
Your Portal to the Oracle Knowledge Grid
|
Home ->
Community ->
Usenet ->
c.d.o.server ->
Re: When is an index used??
Re: When is an index used??
- When the "field" is used in the WHERE clause, i.e. WHERE field <some_condition>
- When using the INDEX hint (from Oracle7 on).
Hope this helps.
Michael Serbanescu
Matthias Kramer wrote:
>
> I use PO7 via Delphi-BDE. When I excute I simple SQL-Statement like
>
> SELECT field FROM table ORDER BY field
>
> there's no difference between there does exist an index on "field" or does
> not.
> I can't imagine that this is normal. Any explanations for that phenomenon
> ??
>
> Matthias Kramer
Received on Sun May 10 1998 - 03:09:44 CDT
Original text of this message