Re: SELECT question

Поиск
Список
Период
Сортировка
От Devrim GUNDUZ
Тема Re: SELECT question
Дата
Msg-id 1043969051.963.13.camel@localhost.localdomain
обсуждение исходный текст
Ответ на SELECT question  (Brian Avis <brian.avis@searhc.org>)
Список pgsql-general
Hi,

On Fri, 2003-01-31 at 01:11, Brian Avis wrote:
> I want to run a SELECT on a text field and match any of the following.
>
> brian
> Brian
> BRIAN
>
> Or any other combination.   How do I tell SQL to ignore case when doing
> a SELECT?

SELECT * FROM table WHERE column ILIKE 'brian%';

should work.

Best regards,
--
Devrim GUNDUZ
www.gunduz.org



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

Предыдущее
От: Brian Avis
Дата:
Сообщение: Re: SELECT question
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: Documentation needs significant improvement