Re: Disabling case sensitivity

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: Disabling case sensitivity
Дата
Msg-id 20020710132200.GA3558@feivel.credativ.de
обсуждение исходный текст
Ответ на Disabling case sensitivity  (linux_211@hotmail.com (igor))
Ответы Re: Disabling case sensitivity
Список pgsql-general
On Tue, Jul 09, 2002 at 04:11:38PM -0700, igor wrote:
> I would like to know if there is some way how to disable case
> sensitivity in PostgreSQL server. With some varaiable or some setting
> in configuration file  or how?
> So after this would be the same 'Good' and 'GOOD' or 'GoOd' in some
> SELECT from table where username='Good'. I wanna get the same row
> with:
> SELECT from table where username='GoOd';

Can't you use something like

SELECT from table where tolower(username)='good';

?

> Exactly like in MS SQL server.

You mean MS SQL is not case sensitive for data? But it is for attribute
names. Not exactly what I call a logical setup. :-)

Michael
--
Michael Meskes
Michael@Fam-Meskes.De
Go SF 49ers! Go Rhein Fire!
Use Debian GNU/Linux! Use PostgreSQL!

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