From: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
---|---|
To: | Luis Flores soberon <lmflores78(at)hotmail(dot)com> |
Cc: | pgsql-es-ayuda(at)postgresql(dot)org |
Subject: | Re: Procedimiento almacenado |
Date: | 2005-10-05 14:40:37 |
Message-ID: | 20051005144037.GA6985@surnet.cl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-es-ayuda |
On Wed, Oct 05, 2005 at 02:18:17PM +0000, Luis Flores soberon wrote:
> <P>Alvaro:</P>
> <P>Tengo un problema. Necesito hacer un procedimiento almacenado en
> PLSQL en el que se hace una consulta a la tabla abriendo un cursor, se
> recorren los registros y se van creando otro conjunto de registros, de
> diferente tipo y número de columnas, que son los que tiene que
> regresar el procedimiento. ¿cómo se puede declarar la función para que
> regrese ese tipo de conjunto de registros si yo ya sé cuantas columnas
> serán y de qué tipos?.</P>
http://alvherre.atentus.cl/charlas/09-SetReturningFunctions.pdf
Por favor no escribas en HTML ...
--
Alvaro Herrera http://www.amazon.com/gp/registry/5ZYLFMCVHXC
"Doing what he did amounts to sticking his fingers under the hood of the
implementation; if he gets his fingers burnt, it's his problem." (Tom Lane)
From | Date | Subject | |
---|---|---|---|
Next Message | Luis Guevara | 2005-10-05 15:03:48 | Cambiar valor de parametro en funcion |
Previous Message | JucaviLst | 2005-10-05 14:33:56 | Re: [pgsql-es-ayuda] Re: [pgsql-es-ayuda] Tamaño |