How to return a select query

Поиск
Список
Период
Сортировка
От Eugenio Flores
Тема How to return a select query
Дата
Msg-id 213647.50573.qm@web55602.mail.re4.yahoo.com
обсуждение исходный текст
Ответы Re: How to return a select query  ("Rodrigo De León" <rdeleonp@gmail.com>)
Список pgsql-sql
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 2GB extra a tu correo por $100 al mes. http://net.yahoo.com.mx

В списке pgsql-sql по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [ADMIN] pg_dump error
Следующее
От: "Rodrigo De León"
Дата:
Сообщение: Re: How to return a select query