Newbie: help with FUNCTION

Поиск
Список
Период
Сортировка
От Charl Gerber
Тема Newbie: help with FUNCTION
Дата
Msg-id 20050224210046.37543.qmail@web41213.mail.yahoo.com
обсуждение исходный текст
Ответы Re: Newbie: help with FUNCTION  (Richard Huxton <dev@archonet.com>)
Re: Newbie: help with FUNCTION  (elein@varlena.com (elein))
Список pgsql-general
I'm trying to create  a function that takes 1
paramater (eg an integer) as input, then does 5
database updates or deletes in 5 different SQL
statements and returns 5 integers (in one resultset)
indicating how many rows were affected by the various
updates/deletes.

How do I do this?

How can I specify the names of the 5 output colums?

Thanks


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

Предыдущее
От: "Cristian Prieto"
Дата:
Сообщение: Re: Help with queries...
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Help with queries...