Re: Substitute a variable in PL/PGSQL.

Поиск
Список
Период
Сортировка
От Steve Martin
Тема Re: Substitute a variable in PL/PGSQL.
Дата
Msg-id 488D0249.8030308@nec.co.nz
обсуждение исходный текст
Ответ на Re: Substitute a variable in PL/PGSQL.  (artacus@comcast.net)
Список pgsql-general
artacus@comcast.net wrote:

>You can do it in straight sql like so.
>
>SELECT (array[col1, col2, col3, col4, col5, col6, col7, col8, col9, col10])[i]
>FROM test t, generate_series(1,10) i
>
>Art
>
>
>
Hi Art,
Thanks for the advice, in my case using arrays was not a option as the
data could be null.
Steve M.


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

Предыдущее
От: Steve Martin
Дата:
Сообщение: Re: Substitute a variable in PL/PGSQL.
Следующее
От: Sushant Sinha
Дата:
Сообщение: Re: Profiling postgres