Re: Case-sensitive

Поиск
Список
Период
Сортировка
От Thomas Pundt
Тема Re: Case-sensitive
Дата
Msg-id 200701251305.47779.mlists@rp-online.de
обсуждение исходный текст
Ответ на Case-sensitive  ("Alexander B." <burbello3000@yahoo.com.br>)
Список pgsql-admin
Hi,

On Thursday 25 January 2007 11:52, Alexander B. wrote:
| One developer asked me about case-sensitive, if its possible disable
| Postgres not consider when using comparative functions.
| Eg.:
| select * from people
| where upper(name) like upper('A%');
|
| Is there any parameter that don't take in account case-sensitive, or any
| other way to treat??

 name ilike 'a%';
 name ~* '^a';

For pattern matching operators you can take a look at
http://www.postgresql.org/docs/8.2/interactive/functions-matching.html

Ciao,
Thomas

--
Thomas Pundt <thomas.pundt@rp-online.de> ---- http://rp-online.de/ ----

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

Предыдущее
От: "Alexander B."
Дата:
Сообщение: Case-sensitive
Следующее
От: "Shoaib Mir"
Дата:
Сообщение: Re: Case-sensitive