× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Group,

I apologize in advance if I'm posting on the wrong list or if this issue has 
already come up in the past (I couldn't find any reference in the archives).

My goal is to code a sql statement to retrieve records based  on a wildcard 
search on the street name. The sql will be embedded in an inquiry program which 
is meant to reload the subfile according to the user selection.

In our shop, Street Addresses are stored in mixed case (ie: Marye Rd).

A statement like: select street from lib/file where street like '%marye%', 
finds 'marye Rd' but not 'Marye Rd'.

In query I can resolve this problem by specifying option# 3 on the collating 
sequence to make the search not case sensitive.

Is there a similar method to be used in sql? I tried to compare the qmqry 
sources of a query that uses the standard collating sequence and of another one 
that uses the type 3 collating sequence, but they look identical.


Thanks for any help on this matter.

Valerio Vincenti
Systems Analyst
County of Spotsylvania, I.S. Department
Spotsylvania, VA 22553
Phone (540) 582-7055 Ext. 233
Fax (540) 582-6304
e-mail: vvincenti@spotsylvania.va.us




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.