Re: [GENERAL] Case insensitive "contains" search

Поиск
Список
Период
Сортировка
От Oleg Broytmann
Тема Re: [GENERAL] Case insensitive "contains" search
Дата
Msg-id Pine.SOL2.3.96.SK.981109133154.972E-100000@sun.med.ru
обсуждение исходный текст
Ответ на Case insensitive "contains" search  ("Wim Ceulemans" <wim.ceulemans@pophost.eunet.be>)
Список pgsql-general
Hi!

On Mon, 9 Nov 1998, Wim Ceulemans wrote:
>
> select * from tablex where name = '%test%';
>
> When I want exactly the same but case insensitive, how do I do that? By

   Convert all to uppercase. Something like
select * from tablex where UPPER(name) = '%TEST%';

Oleg.
----
    Oleg Broytmann  National Research Surgery Centre  http://sun.med.ru/~phd/
           Programmers don't die, they just GOSUB without RETURN.


В списке pgsql-general по дате отправления:

Предыдущее
От: Postgres DBA
Дата:
Сообщение: Re: [GENERAL] Case insensitive "contains" search
Следующее
От: Memphisto
Дата:
Сообщение: postgreSQL 6.3.2 and AIX