[thelist] constructing a good search string/query

Roger Ly evolt at matchpenalty.com
Mon May 2 14:26:15 CDT 2005


>Here is the query.
>select * from search_string where lower(searchstring) like
>'%"+searchTerm+"%'

How the does the query compare when run without the lower function?  Is it
faster?  You could consider creating a functional index on search_string for
lower(searchstring) to help optimize the query.

Roger

 



More information about the thelist mailing list