Re: Help with SELECT and string

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: Help with SELECT and string
Дата
Msg-id Pine.BSF.4.21.0110021037070.46830-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на Help with SELECT and string  (Tomasz Misterka <tomasz@hieroglif.com.pl>)
Список pgsql-admin
On Fri, 28 Sep 2001, Tomasz Misterka wrote:

> Hello,
>
> I've got a problem with finding how to search database with string without
> checking if string is "Chris" or "chris".
>
> Now when I'm searching database for word "chris" i can't find word
> "Chris" - how the SELECT should looks like?

Something like
select ... where lower(column) = 'chris'
should do what you want.  If you want to use indexes you'll need to
make an index on lower(column)



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

Предыдущее
От: Tomasz Misterka
Дата:
Сообщение: Help with SELECT and string
Следующее
От: "Michael B. Babakov"
Дата:
Сообщение: How to make 'tail -f' in PostgreSQL?