Re: Case insensitive ORDER BY

Поиск
Список
Период
Сортировка
От Mike Nolan
Тема Re: Case insensitive ORDER BY
Дата
Msg-id 200403190625.i2J6PTIw013784@gw.tssi.com
обсуждение исходный текст
Ответ на Re: Case insensitive ORDER BY  ("Alam Surya" <alam_it@csahome.com>)
Список pgsql-general
> why does CLAUSE ORDER BY in POSTAGE SQL must have CASE SENSITIVE, what is
> the basic thought? isn't it ORDER BY function is only just a filter
> shorting?

If you were a bond broker, you would probably consider a bond
rated 'AAa' different from one rated 'AAA'.

Case sensitivity is significant for many types of data, that's why
databases should always treat data as case sensitive by default.

For those applications where it doesn't matter, there are case-insensitive
searching and ordering options in PostgreSQL, and if you really don't
need the data in upper/lower case you can always force it to one or the
other with a 'before insert or update' database trigger.
--
Mike Nolan

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

Предыдущее
От: Matthew Hixson
Дата:
Сообщение: two phase commit
Следующее
От: "Rajat Katyal"
Дата:
Сообщение: