agora inbox for pgsql-sql@postgresql.org  
help / color / mirror / Atom feed
From: david williams <dw_remote@hotmail.com>
To: bcschnei@attbi.com
To: pgsql-sql@postgresql.org
Subject: Re: Stored Procedures
Date: Wed, 2 Oct 2002 11:47:24 -0400
Message-ID: <DAV73w3q4RfEJ1XwxIM00008dcf@hotmail.com> (raw)

http://developer.postgresql.org/docs/postgres/xfunc-sql.html#AEN30400

See section  

9.2.4. SQL Table Functions

----- Original Message -----
From: bcschnei@attbi.com
Sent: Tuesday, October 01, 2002 4:25 PM
To: pgsql-sql@postgresql.org
Subject: [SQL] Stored Procedures

Hi all. I'm looking for a little help here. I have a  
project where I have to write some stored proceedures  
and am having some problems. My main issue is, I cannot  
figure out how to return a record set containing  
multipule columns. I am looking for a few examples on  
how I can do this. Most of what I have to do is fairly  
simple SQL queries based on a pramater sent to the  
function. I tried to use the SETOF <datatype> option,  
but only get back one column.

Any help will be would be greatly appricated. Simple  
examples would be of a great help.

Thanks,
Ben


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.orgGet more from the Web.  FREE MSN Explorer download : http://explorer.msn.com

view thread (23+ messages)  latest in thread

Message-ID: <DAV73w3q4RfEJ1XwxIM00008dcf@hotmail.com>
Permalink:  ../DAV73w3q4RfEJ1XwxIM00008dcf@hotmail.com/
Also on:    postgresql.org/message-id/DAV73w3q4RfEJ1XwxIM00008dcf@hotmail.com

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: dw_remote@hotmail.com, bcschnei@attbi.com
  Subject: Re: Stored Procedures
  In-Reply-To: <DAV73w3q4RfEJ1XwxIM00008dcf@hotmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox