| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Alternative to the LIKE command
One of our developers is trying to figure out how to search a string
for a partial match. In other words, if you had a table such as
NAME (Varchar2) TIDS (varchar2) --------------- -------------- Joe Black 123123,432432,324234,764565,4334534,344353,45715435,35338 Ben Hur 123756,324342,8237482,975924,145238,2934283,2348248,23423 Tom Thumb
Is there another way to rewrite
select NAME from MYTABLE where TIDS like '%324234%';
so that you get better performance, assuming a great number of rows? Can the owa_pattern.match be used here?
Thanks. Received on Wed Feb 11 2004 - 16:12:09 CST
![]() |
![]() |