Sorting

Поиск
Список
Период
Сортировка
От Bart McFarling
Тема Sorting
Дата
Msg-id 58748158EFB67344819B48564FCAD4A849B321@exchange2.iilogistics.com
обсуждение исходный текст
Ответы Re: Sorting  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Список pgsql-general
I have a column that is a varchar(6) I need to sort it by the rows that are integers 1st then the character ones or vice versa, I just need the values that can be converted to integer to sort by their numeric value.
 
i.e
1, 2, 3, 4, 5, 10, 11, A, B, C
instead of
1, 10, 11, 2, 3, 4, 5, A, B, C
 
Any suggestions?

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

Предыдущее
От: Erik Jones
Дата:
Сообщение: Re: Discovering time of last database write
Следующее
От: "Andy Dale"
Дата:
Сообщение: Re: Discovering time of last database write