Re: Stored Procedure Problem
От | Roberto Mello |
---|---|
Тема | Re: Stored Procedure Problem |
Дата | |
Msg-id | 20021212163330.GG22465@cc.usu.edu обсуждение исходный текст |
Ответ на | Re: Stored Procedure Problem ("Atul" <atul@imcindia.net>) |
Список | pgsql-sql |
On Thu, Dec 12, 2002 at 08:13:22PM +0530, Atul wrote: > Hi, > How to return multiple columns through stored procedure. <snip> > But This Gives Error(For Multiple column , not for single column) > Please Let me know. You didn't say which version of PostgreSQL you are using. In PG 7.2 you can return a cursor. In 7.3 you can return a cursor or a true record set. See http://developer.postgresql.org/docs/postgres/plpgsql-cursors.html (true to 7.2 and 7.3) Also http://developer.postgresql.org/docs/postgres/plpgsql-control-structures.html ("Returning from a function"). The part on returning record sets is only relevant to 7.3 -Roberto -- +----| Roberto Mello - http://www.brasileiro.net/ |------+ + Computer Science Graduate Student, Utah State University + + USU Free Software & GNU/Linux Club - http://fslc.usu.edu/ + :.:..::..:::.:::::..:..:.:..:..::::.:...:: => BRAILE TAGLINE!
В списке pgsql-sql по дате отправления: