Received: from smtp018.mail.yahoo.com (smtp018.mail.yahoo.com [216.136.174.115]) by postgresql.org (8.11.3/8.11.4) with SMTP id f9RKKIP07385 for ; Sat, 27 Oct 2001 16:20:24 -0400 (EDT) (envelope-from chrup999@yahoo.com) Received: from chill-025.bbnow.net (HELO ?192.168.0.4?) (24.219.2.25) by smtp.mail.vip.sc5.yahoo.com with SMTP; 27 Oct 2001 20:20:02 -0000 X-Apparently-From: Mime-Version: 1.0 X-Sender: chrup999@pop.mail.yahoo.com Message-Id: In-Reply-To: References: Date: Sat, 27 Oct 2001 15:19:59 -0500 To: "Eric Day" From: Chris Ruprecht Subject: Re: How can I.. Cc: PostGreSQL Admin Group Content-Type: text/plain; charset="iso-8859-1" ; format="flowed" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by postgresql.org id f9RKVUM09302 X-Archive-Number: 200110/234 X-Sequence-Number: 2478 Eric, >How do I create a stored procedure which would return a few records with a >few columns each ? > >Regards, >Eric Create a temp table, delete all it's records. Then have run your procedure which will create records in the temp table. You have access to the records in the temp table from your calling procedure. Sorry, but there is no data type 'record' which can be used to return a records (row, tuple, etc.) in PostGreSQL at the moment. Best regards, Chris -- -- Chris Ruprecht Network grunt and bit pusher extraordinaíre _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com