Re: function

Поиск
Список
Период
Сортировка
От Raymond O'Donnell
Тема Re: function
Дата
Msg-id 50BCE05A.1080408@iol.ie
обсуждение исходный текст
Ответ на Re: function  (Raymond O'Donnell <rod@iol.ie>)
Список pgsql-general
On 03/12/2012 16:55, Raymond O'Donnell wrote:
> On 30/11/2012 10:25, AZL . wrote:
>>
>> write a select query and take each row values and do some update or
>> insert task postgresql 9.1, can any one give a template of function
>> syntax for implementing such a task
>
> You're probably looking for a with...loop construct in plpgsql:
>
> http://www.postgresql.org/docs/9.2/static/plpgsql-control-structures.html#PLPGSQL-RECORDS-ITERATING

Sorry, that should have been FOR .... LOOP.

Ray.

--
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie


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

Предыдущее
От: Raymond O'Donnell
Дата:
Сообщение: Re: function
Следующее
От: Steve Crawford
Дата:
Сообщение: Re: Postgres PHP error