Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Does order of a PK columns in a SELECT matter in the speed of the query?
Oracle is very particular about the order in cases where composite indexes
are available.
In order for a query to use the index, rather than go for a full table
scan, the where clause should have the columns in the order that they are
indexed.
AV
![]() |
![]() |