Re: Help with SELECT and string

Поиск
Список
Период
Сортировка
От Nick Fankhauser
Тема Re: Help with SELECT and string
Дата
Msg-id NEBBLAAHGLEEPCGOBHDGMEMNDLAA.nickf@ontko.com
обсуждение исходный текст
Ответ на Help with SELECT and string  (Tomasz Misterka <tomasz@hieroglif.com.pl>)
Список pgsql-admin

> Now when I'm searching database for word "chris" i can't find word
> "Chris" - how the SELECT should looks like?


select name from nametable where lower(name) = 'chris';

or

select name from nametable where upper(name) = 'CHRIS';

-Nick

PS: I'd suggest taking general SQL questions like this to the pgsql-general
list.

---------------------------------------------------------------------
Nick Fankhauser

Business:
nickf@doxpop.com  Phone 1.765.965.7363  Fax 1.765.962.9788
doxpop  - Court records at your fingertips - http://www.doxpop.com/

Personal:
nick@fankhausers.com   http://www.fankhausers.com


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

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