Hi All,
I've got a table table1 (a varchar2(6), b date).
An index idx1 on column a.
When I use a clause where with IN operator
idx1 is not used event with an optimizer hint.
But if I turn it to = operator.
idx1 index is used.
What should I do to force oracle use INLIST iterator and then the index.
BR,
Zephan
I've got a table table1 (a varchar2(6), b date).
An index idx1 on column a.
When I use a clause where with IN operator
Code:
Select *
from table1
where a in ('X', 'Y', 'Z');
But if I turn it to = operator.
Code:
Select *
from table1
where a = 'X';
What should I do to force oracle use INLIST iterator and then the index.
BR,
Zephan