Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: interest of indexes ....
Hi Fred,
No, I believe the wildcard operator will cause it not to use the index.
Steve
"Fred Burlaud" <fburlaud_at_com6.fr> wrote in message
news:3D0DE076.20404_at_com6.fr...
> Hello,
>
>
> An index works for search of the complete string of the field but
> is it appropiated for the substring search too
>
> For ex. I would like to know if an index on phone field is appropriated
> in this case
>
> SELECT * From Contact WHERE phone like '%0867%';
>
> Thanks
> Fred
>
Received on Mon Jun 17 2002 - 10:41:36 CDT
![]() |
![]() |