Re: dynamic sql in PL-Pgsql ?

Поиск
Список
Период
Сортировка
От Raymond O'Donnell
Тема Re: dynamic sql in PL-Pgsql ?
Дата
Msg-id 48DD4862.4060603@iol.ie
обсуждение исходный текст
Ответ на dynamic sql in PL-Pgsql ?  ("Gauthier, Dave" <dave.gauthier@intel.com>)
Список pgsql-general
On 26/09/2008 21:19, Gauthier, Dave wrote:
> As you can see, the select statement needs to be dynamic in that the
> column name is stored in a variable.
>
>
> Can this be done?

http://www.postgresql.org/docs/8.3/static/plpgsql-statements.html#PLPGSQL-STATEMENTS-EXECUTING-DYN


------------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod@iol.ie
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------

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

Предыдущее
От: "Gauthier, Dave"
Дата:
Сообщение: dynamic sql in PL-Pgsql ?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Is there any way to reliably influence WHERE predicate evaluation ordering?