Re: Returning multiple rows from a function?

Поиск
Список
Период
Сортировка
От Volkan YAZICI
Тема Re: Returning multiple rows from a function?
Дата
Msg-id 20061127172857.GB1448@alamut
обсуждение исходный текст
Ответ на Returning multiple rows from a function?  (Bret Schuhmacher <bret@thelastmilellc.com>)
Список pgsql-general
On Nov 27 11:59, Bret Schuhmacher wrote:
> I'm trying to return multiple rows from a function, but all I can get
> ...
>
> CREATE OR replace function getOnCallVol() RETURNS RECORD AS $$

You should return "SETOF record". See related section of the manual
about SRFs (Set Returning Fucntions).


Regards.

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