Fill array with series

Поиск
Список
Период
Сортировка
От Lee Hachadoorian
Тема Fill array with series
Дата
Msg-id CANnCtnJuWDd_749QfxdW1iDVAxfmUBA4oVkZwmvWss_haynhGQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: Fill array with series  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-sql
Is there a single function that will generate a series and return an array? The best I've come up with is to combine
array_aggand generate_series:<br /><br />SELECT array_agg(generate_series) FROM generate_series(5, 23);<br /><br
/>array_agg<br/>---------------------------------------------------------<br clear="all"
/>{5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23}<br/><br />Thanks,<br />--Lee<br /><br />-- <br />Lee
Hachadoorian<br/>PhD, Earth & Environmental Sciences (Geography)<br /> Research Associate, CUNY Center for Urban
Research<br/><a href="http://freecity.commons.gc.cuny.edu/" target="_blank">http://freecity.commons.gc.cuny.edu/</a><br
/><br/> 

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

Предыдущее
От: Bèrto ëd Sèra
Дата:
Сообщение: Re: Setting the process title, or can I?
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: Fill array with series