From: Sangaran <skannan@ivesia.com>
To: pgsql-odbc@postgresql.org
Subject: Regarding Mutiple cursor returning in PostGres
Date: Sun, 11 Sep 2005 13:11:44 +0530
Message-ID: <002801c5b6a4$43765f10$9a02a8c0@ivesia82> (raw)
Hi All,
Can any help me in writing a stored procedure in which it returns multiple cursors. Is it possible in PostGres ?.
I need the way like this
BEGIN
OPEN CURSOR c1
select * from table1 where column1>expression;
OPEN CURSOR c2
select * from table2 where column2>expression;
RETURN c1,c2;
END
Is this possible?
Pls reply if any solution.
regards,
-sangaran
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: skannan@ivesia.com
Subject: Re: Regarding Mutiple cursor returning in PostGres
In-Reply-To: <002801c5b6a4$43765f10$9a02a8c0@ivesia82>
References: <002801c5b6a4$43765f10$9a02a8c0@ivesia82>
* 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