| От | Philipp Kraus |
|---|---|
| Тема | void function and view select |
| Дата | |
| Msg-id | 0AF95F26-7F53-4AF0-88AC-3ACFC6929E3B@tu-clausthal.de обсуждение исходный текст |
| Ответы |
Re: void function and view select
|
| Список | pgsql-general |
Hello,
I have got a complex query with a dynamic column result e.g.:
select builddata('_foo‘);
select * from _foo;
The first is a plsql function which creates a temporary table, but the function returns void.
The second call returns all the data from this table. But the columns of the temporary table are
not strict fixed, so I cannot return a table by the function.
So my question is, how can I build with this two lines a view, so that I can run "select * from myFooView“ or
a function with a dynamic return set of columns e.g. „select myFoo()“?
Thanks
Phil
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера