Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Re: SQL*PLUS and INDEX
You may be using your index on table k (but do an explain to be sure) although, I believe you will be doing a full table scan on your (select ... from ....) table.
In article <8vlvj1$rcp$1_at_lacerta.tiscalinet.it>,
"gg" <gianpaolo.giliberto_at_tiscalinet.it> wrote:
> Hy,
> we have a table k with a index on 3 fields
> (x,y,z in this order) and
> sometime we have to execute a query like this:
>
> select ..
> from k
> where
> x in (select ... from ....) and
> y=.. and
> z=.....;
>
> Do we use the index with this query ?
>
> Thanks.
> Goodbye
> gianpaolo.giliberto_at_tiscalinet.it
>
>
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Fri Dec 01 2000 - 10:51:22 CST
![]() |
![]() |