Text searches
Posted in 1998
Steve Romankiw — — source: Informix-list mailing list archive (1991-1998)
We are running ODS 7.23 on Solaris 2.5.1. There are times when queries
like the one below need to be performed.
SELECT * FROM employee
WHERE address like "%SEQUENTIAL%"
Although this is a very simple query, it is VERY expense to run. The
optimizer is forced into doing a seq scan.
What approaches have you taken to search the character strings inside of
character fields?
Thanks.
SteveR
--
-----------------------------------------------------------------
Steve Romankiw +
Executive Risk Inc. +
DBA + email: sromankiw@execrisk.com
82 Hopmeadow Street + work: (860) 408-2474
Simsbury,CT 06070 + fax: (860) 408-2139
-----------------------------------------------------------------