Re: Case insensitive select

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Case insensitive select
Дата
Msg-id 200206121808.19116.josh@agliodbs.com
обсуждение исходный текст
Ответ на Case insensitive select  ("isaac flemmin" <isaac@knox.net>)
Ответы Re: Case insensitive select  ("isaac flemmin" <isaac@knox.net>)
Список pgsql-sql
Issac,

> I am doing something wrong or it would be working. I really have no idea
> how to do a case insensitive query other than with the lower function.
> If there is anyone out there who has any ideas on how to help me or can
> point me toward something that will help me it would be very
> appreciated.

There is also:

SELECT * FROM test1 WHERE col1 ~* '^value';
or:
SELECT * FROM test1 WHERE col1 ILIKE 'value';

See Operators and Functions in the online docs.

--
-Josh Berkus



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

Предыдущее
От: "isaac flemmin"
Дата:
Сообщение: Case insensitive select
Следующее
От: "isaac flemmin"
Дата:
Сообщение: Re: Case insensitive select