Re: plpgsql: returning multiple named columns from function
В списке pgsql-general по дате отправления:
| От | John Lawler |
|---|---|
| Тема | Re: plpgsql: returning multiple named columns from function |
| Дата | |
| Msg-id | 430B7BC0.6080307@tgice.com обсуждение исходный текст |
| Ответ на | Re: plpgsql: returning multiple named columns from function ("Joshua D. Drake" <jd@commandprompt.com>) |
| Ответы |
Re: plpgsql: returning multiple named columns from function
|
| Список | pgsql-general |
Joshua D. Drake wrote: >> perhaps even any existing column in a table. > > I think what you are looking for is SetOF functions. > http://www.postgresql.org/docs/8.0/interactive/functions-srf.html Thanks for the response. The reference you indicated is talking about Set Returning Functions. I'm looking to return multiple *columns* from a function, not rows. Plus, the main part was to be able to have the columns (arbitrarily) named as if they'd been selected from a table. I hope that there's something about as easy as the example I cited from MS SQL.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера