Question about functions..

Поиск
Список
Период
Сортировка
От Loren Koss
Тема Question about functions..
Дата
Msg-id Pine.BSF.4.21.0011131617000.1013-100000@unix.pciway.com
обсуждение исходный текст
Список pgsql-general
How would you do the simple task of returning multiple rows of multiple
columns in a function?

ie:

create function test()
return int, int
as
'select col1, col2 from a'
language 'sql';

assuming col1 and col2 are integers..  I would like to port my db app from
MS SQL to postgres and would really need this type of functionality..

Thanks
Loren




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

Предыдущее
От: Lamar Owen
Дата:
Сообщение: Re: 7.0.3 RPMs?
Следующее
От: Loren Koss
Дата:
Сообщение: Question regarding temporary tables & functions..