Re: UNNEST result order vs Array data

Поиск
Список
Период
Сортировка
От gmb
Тема Re: UNNEST result order vs Array data
Дата
Msg-id 1371726033207-5760092.post@n5.nabble.com
обсуждение исходный текст
Ответ на Re: UNNEST result order vs Array data  (Vik Fearing <vik.fearing@dalibo.com>)
Ответы Re: UNNEST result order vs Array data  (Vik Fearing <vik.fearing@dalibo.com>)
Список pgsql-sql
Hi Vik
Thanks for the reply. 
Can you please give me an example of how the order is specified?
I want the result of the UNNEST to be in the order of the array field
E.g.
SELECT UNNEST ( ARRAY[ 'abc' , 'ggh' , '12aa' , '444f' ] );
Should always return:
unnest
--------abcggh12aa444f

How should the ORDER BY be implemented in the syntax?

Regards




--
View this message in context:
http://postgresql.1045698.n5.nabble.com/UNNEST-result-order-vs-Array-data-tp5760087p5760092.html
Sent from the PostgreSQL - sql mailing list archive at Nabble.com.



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

Предыдущее
От: Vik Fearing
Дата:
Сообщение: Re: UNNEST result order vs Array data
Следующее
От: Achilleas Mantzios
Дата:
Сообщение: Re: UNNEST result order vs Array data