Functions returning multiple rowsets

Поиск
Список
Период
Сортировка
От Thom Brown
Тема Functions returning multiple rowsets
Дата
Msg-id bddc86150909280949s6f9b88d0nbf380716afc3f5dd@mail.gmail.com
обсуждение исходный текст
Ответы Re: Functions returning multiple rowsets  (Pavel Stehule <pavel.stehule@gmail.com>)
Re: Functions returning multiple rowsets  (Merlin Moncure <mmoncure@gmail.com>)
Список pgsql-general
Hi,

Is it possible to create a function using 'SQL' as language which could return multiple rowsets, such as "SELECT * FROM TABLE1; SELECT * FROM TABLE2;" where both results are returned in the output?  I know this can be done in stored procedures in other RBDMS but can this be done in a function?

Thanks

Thom

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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: computed values in plpgsql
Следующее
От: Steve Atkins
Дата:
Сообщение: Re: sync structures