Re: Books for experienced DB developer

Поиск
Список
Период
Сортировка
От Sim Zacks
Тема Re: Books for experienced DB developer
Дата
Msg-id cru1vp$1a39$1@news.hub.org
обсуждение исходный текст
Ответ на Re: Books for experienced DB developer  (Patrick FICHE <Patrick.FICHE@AQSACOM.COM>)
Список pgsql-general
Tino,

Multiple recordsets means returning multiple setof results, not just one.
As an example in a SQL Server Stored Procedure you can have the following in
the same stored procedure:
create proc getdata as
select * from table1
select * from table2
go
and it will return 2 resultsets. This is not possible in postgresql today.



"Tino Wildenhain" <tino@wildenhain.de> wrote in message
news:1105096058.4978.62.camel@sabrina.peacock.de...
> On Fri, 2005-01-07 at 11:56 +0100, Patrick FICHE wrote:
> > I'm afraid this is still a problem.
> > From my knowledge, Postgres function is able to return a single
result-set
> > not multiple.
> > I may have missed some facility...
>
> <rtfm_please> see
> http://techdocs.postgresql.org/guides/SetReturningFunctions
> <rtfm_please> or
> http://www.postgresql.org/docs/current/static/xfunc-sql.html#AEN28835
>
> (fresh from freenode irc #postgresql channel)
>
> Or is it not what you mean?
>
> Regards
> Tino
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>



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

Предыдущее
От: Matthew Story
Дата:
Сообщение: Re: PYTHON, ODBC
Следующее
От: David Kammer
Дата:
Сообщение: serial increments on failed insert