Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: LIKE operator

Re: LIKE operator

From: replace this with _at_ <_at_)xs4all.nl>
Date: Mon, 26 Oct 1998 19:05:48 GMT
Message-ID: <3634c7de.9121736@news.xs4all.nl>


Hi,

>SELECT ... FROM ... WHERE ... x like Y
>,where x is a contant, and Y an indexed column of a table in the FROM part.
>Will Oracle use its index to improve performances ?

I think it does if you concatenate the Y with a % as in: x like (Y || '%').

Good luck!


Received on Mon Oct 26 1998 - 13:05:48 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US