× 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 Booth,

To add to Birgitta's answer and answer your 2nd question, you can use either LCASE() or UCASE to convert strings to all lower case or all upper case, then make your constant match that:

WHERE lcase(RTrim(YourColumn)) like '%ith'

or

WHERE ucase(RTrim(YourColumn)) like '%ITH'

--
*Peter Dow* /
Dow Software Services, Inc.
909 793-9050
petercdow@xxxxxxxxx <mailto:petercdow@xxxxxxxxx>
pdow@xxxxxxxxxxxxxx <mailto:pdow@xxxxxxxxxxxxxx>

/
On 11/15/2015 9:22 PM, Booth Martin wrote:
SQL has opened pleasing choices, choices which may bite me in the end. In the meantime though I am liking the LIKE.

The instructions say one thing; I am getting another thing, which probably means I didn't see some paragraph somewhere.

As I understand it this is a valid statement:

"Select: "%" is wildcard (Smi% gets Smith, as does %ith and %mit%.) Case sensitive."

2 out of 3 work. Smi% works. %mit% works. %ith does not work. The field is defined as varying. Does anyone recognize what has gone wrong?

(As an aside, is there a way to make this not case sensitive?)




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.