pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: iseyfi@vt.edu
To: pgsql-sql@postgresql.org
Subject: returning multiple resultset?
Date: 9 Feb 2004 15:27:27 -0800
Message-ID: <357f5505.0402091527.394e0a30@posting.google.com> (raw)

Hello all,

I am fairly new to PostgreSQL and I am right now converting a database
from SQL server. SQL server can return multiple select statements in
the function body. Is there any way to return a function with two
different resultsets?

select * from table1;


select * from table2;


Thanks for your time and help



view thread (2+ messages)  latest in thread

Message-ID: <357f5505.0402091527.394e0a30@posting.google.com>
Permalink:  ../357f5505.0402091527.394e0a30@posting.google.com/
Also on:    postgresql.org/message-id/357f5505.0402091527.394e0a30@posting.google.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: iseyfi@vt.edu
  Subject: Re: returning multiple resultset?
  In-Reply-To: <357f5505.0402091527.394e0a30@posting.google.com>

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

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