Re: How to return a select query

Поиск
Список
Период
Сортировка
От Rodrigo De León
Тема Re: How to return a select query
Дата
Msg-id a55915760703032244j2a5a98adx54ec3eed397c1214@mail.gmail.com
обсуждение исходный текст
Ответ на How to return a select query  (Eugenio Flores <eflores767003@yahoo.com.mx>)
Список pgsql-sql
On 3/3/07, Eugenio Flores <eflores767003@yahoo.com.mx> wrote:
> 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.

See:

http://www.postgresql.org/docs/8.2/static/queries-table-expressions.html#QUERIES-TABLEFUNCTIONS


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

Предыдущее
От: Eugenio Flores
Дата:
Сообщение: How to return a select query
Следующее
От: Steve Midgley
Дата:
Сообщение: GiST index question: performance