Result sets from functions

Поиск
Список
Период
Сортировка
От Kevin Zapico
Тема Result sets from functions
Дата
Msg-id a1jiuh$2i2a$1@news.tht.net
обсуждение исходный текст
Список pgsql-sql
I am new to postgres and am trying to get a function to return a result set
with multiple columns.

The only way I have seen to do this so far is

select column1(proc()), column2(proc())

This looks like it should call the proc() function twice, although I am sure
that it does not. However, I am trying to find out if there is another way
of doing this.

Please help.




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

Предыдущее
От: "steve boyle"
Дата:
Сообщение: Re: SQL Joins
Следующее
От: "Ali Gumus"
Дата:
Сообщение: Search The pg.pm