Skip site navigation (1) Skip section navigation (2)

Functions returning multiple rowsets

From: Thom Brown <thombrown(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Functions returning multiple rowsets
Date: 2009-09-28 16:49:33
Message-ID: (view raw or whole thread)
Lists: pgsql-general

Is it possible to create a function using 'SQL' as language which could
return multiple rowsets, such as "SELECT * FROM TABLE1; SELECT * FROM
TABLE2;" where both results are returned in the output?  I know this can be
done in stored procedures in other RBDMS but can this be done in a function?




pgsql-general by date

Next:From: Steve AtkinsDate: 2009-09-28 16:55:51
Subject: Re: sync structures
Previous:From: Merlin MoncureDate: 2009-09-28 16:42:13
Subject: Re: computed values in plpgsql

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group