Hi All,

I have following query :

SELECT  EMP_NAME FROM  EMP
WHERE  UPPER(EMP_NAME) LIKE '%ABC%';

CREATE  INDEX IX_NAME ON
emp(UPPER(EMP_NAME));
Looks like using the meta character (%) both leading and trailing would not
use the index and go for Full table scan.

Pls advise how can i optimize above query.

Thanks in advance,
G

-- 
You received this message because you are subscribed to the Google
Groups "Oracle PL/SQL" group.
To post to this group, send email to Oracle-PLSQL@googlegroups.com
To unsubscribe from this group, send email to
oracle-plsql-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/Oracle-PLSQL?hl=en

Reply via email to