Re: case insensitive database ?

Поиск
Список
Период
Сортировка
От Poul L. Christiansen
Тема Re: case insensitive database ?
Дата
Msg-id 3AE5FD81.27FD0977@cs.auc.dk
обсуждение исходный текст
Ответ на case insensitive database ?  (Thorsten Mauch <mauch@imkenberg.de>)
Список pgsql-novice
Thorsten Mauch wrote:
>
> Hi
> Is it possible to setup a database that is case insensitive ?
I don't think you can compile with an case-insensitive flag - AFAIK. But
the workaround is to user the upper() function: SELECT * FROM MyTable
where upper(MyField) = 'UpperCaseString';

In your application that you connect to Postgres, you convert your
string to an upper case string.

> is it also possible with a multbyte database ?
It shouldn't make any difference.

Poul L. Christiansen

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

Предыдущее
От: Thorsten Mauch
Дата:
Сообщение: case insensitive database ?
Следующее
От: Joel Burton
Дата:
Сообщение: Re: case insensitive database ?