Re: return setof and Temp tables

Поиск
Список
Период
Сортировка
От Tony Caduto
Тема Re: return setof and Temp tables
Дата
Msg-id 43F568DB.6060902@amsoftwaredesign.com
обсуждение исходный текст
Ответ на return setof and Temp tables  ("Justin B. Kay" <jkay@2pattersons.com>)
Список pgsql-general
Justin B. Kay wrote:

> If this is not possible, is there some alternative way to do this?  I am
> trying to translate what was done in a ms sql database.



I have done it by returning a ref cursor to the temp table.

I believe there are some ref cursor examples in the docs, if you can't
find any let me know and I can send you a example.

--
Tony Caduto
AM Software Design
Home of PG Lightning Admin for Postgresql
http://www.amsoftwaredesign.com

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

Предыдущее
От: Christopher Browne
Дата:
Сообщение: Re: How do I use the backend APIs
Следующее
От: Együd Csaba
Дата:
Сообщение: importing Npgsql provider into VS2005Express