From: Eugenio Flores <eflores767003@yahoo.com.mx>
To: pgsql-sql@postgresql.org
Subject: How to return a select query
Date: Sat, 3 Mar 2007 14:08:57 -0800 (PST)
Message-ID: <213647.50573.qm@web55602.mail.re4.yahoo.com> (raw)
Hello. I would like to know how can I return a select expresion, and stored in a variable, as cursors, but without the need of fetching it, and just to get the hole resultset.
For example. I want to get this query: Select * from table1, and stored in a variable that I can return to, like a rowtype variable.
What I want is to call this function from a client aplication and show the result in a table. Like a JTable in java.
Thanks in advance for your help.
Greetings.
___________________________________________________________
Do You Yahoo!?
La mejor conexión a Internet y <b >2GB</b> extra a tu correo por $100 al mes. http://net.yahoo.com.mx
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: eflores767003@yahoo.com.mx
Subject: Re: How to return a select query
In-Reply-To: <213647.50573.qm@web55602.mail.re4.yahoo.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