Newbie: help with FUNCTION

From: Charl Gerber <charlgerber(at)yahoo(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Newbie: help with FUNCTION
Date: 2005-02-24 21:00:46
Message-ID: 20050224210046.37543.qmail@web41213.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joshua D. Drake 2005-02-24 21:02:17 Re: Help with queries...
Previous Message Cristian Prieto 2005-02-24 20:49:53 Re: Help with queries...