Subject | Re: Re: [firebird-support] Scandinavian letters. Wildcard searching??? |
---|---|
Author | Pavel Menshchikov |
Post date | 2005-05-08T04:51:51Z |
Hello John,
JJk> I get NULL as result
Since you have 'Hydro...' as your data, and search for LIKE 'hydro%',
you have no results (correct).
And refer to Aage's advice on specifying (charset and) collation for
strings, which embedded into SQLs, for example
_ISO8859_1 'you string, probably with Scandinavian letters' collation NO_NO
HTH
--
Best regards,
Pavel Menshchikov
http://www.ls-software.com
JJk> I get NULL as result
>> On Sat, 7 May 2005 22:20:04 +0200, John Jaab?k <johnjaab@...> wrote:Note that LIKE is case-sensitive, and CONTAINING is case-insensitive.
>> > Well, try this and see what kind of result you get:
>> >
>> > Select * from your_table where your_field Like '%hydro';
>> >
>> > Select * from your_table where your_field Like '%hydro%';
>> >
>> > Select * from your_table where your_field Like 'hydro%';
Since you have 'Hydro...' as your data, and search for LIKE 'hydro%',
you have no results (correct).
And refer to Aage's advice on specifying (charset and) collation for
strings, which embedded into SQLs, for example
_ISO8859_1 'you string, probably with Scandinavian letters' collation NO_NO
HTH
--
Best regards,
Pavel Menshchikov
http://www.ls-software.com