Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Usage of indexes with greater/lower then operators
Hi there,
I have the following xxx table:
id NUMBER lowerval NUMBER upperval NUMBER
SELECT id FROM xxx WHERE lowerval <= 1000 AND upperval >= 1000
Only one index is used (and it is the index on the upperval column from some
reason).
If xxx is a big table, indexes will not help much on such case. My questions
are:
Thanks for any info,
Maoz
Received on Sun May 16 1999 - 10:40:29 CDT
![]() |
![]() |