Re: Case (in)sensitive

Поиск
Список
Период
Сортировка
От Claus Houmøller
Тема Re: Case (in)sensitive
Дата
Msg-id 39CCEB2D.BEF323D5@virtualhost.dk
обсуждение исходный текст
Ответ на Case (in)sensitive  (Boszormenyi Laszlo <gcs@jupiter.hlab.uni-miskolc.hu>)
Список pgsql-novice
Hey,

try a: "select * from city where lower(name) like '%bud%';", that should
give you the name, of this nice city...

Claus

Boszormenyi Laszlo wrote:
>
> Hello!
>
>  I have a database with city names, so the first letter is capitalised.
> I want to let the user search for part of the city name. How can I do case
> insensitive for this? You know "... like '%bud%';" won't find Budapest.
>
> Thanks in advance,
>         Laszlo Boszormenyi

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [SQL] how to store a query, that results in a table
Следующее
От: Boszormenyi Laszlo
Дата:
Сообщение: distinct+trim=error?