case-insensitive SORT BY?

Поиск
Список
Период
Сортировка
От Patrick Giagnocavo
Тема case-insensitive SORT BY?
Дата
Msg-id 3608003B.2AA4ED27@qi.com
обсуждение исходный текст
Список pgsql-sql
I am trying to ensure that when I do a SORT BY I get back the results in
normal sorted order instead of case-sensitive order.  The WHERE clause
contains a LIKE '%..%' so I cannot use UPPER here in a way that does
what I want.

e.g. , given

A, B, b, a

as data, the normal SORT BY behavior returns

a
b
A
B

How do I make it return

a
A
b
B

instead?

./patrick

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