| From: | "Jaime Casanova" <systemguards(at)gmail(dot)com> |
|---|---|
| To: | "Daniel Soto" <daniel(dot)soto2k(at)gmail(dot)com> |
| Cc: | pgsql-es-ayuda(at)postgresql(dot)org |
| Subject: | Re: 2 preguntas acerca de fechas |
| Date: | 2007-07-08 07:34:52 |
| Message-ID: | c2d9e70e0707080034w5b2d23e8y10c70bd08a43e63a@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-es-ayuda |
On 7/8/07, Daniel Soto <daniel(dot)soto2k(at)gmail(dot)com> wrote:
> Al ejecutarlo me arroja el error
> ERROR: query has no destination for result data
> HINT: If you want to discard the results of a SELECT, use PERFORM instead.
>
> Por lo que veo parece que el resultado del select (que es lo que quiero
> rescatar afuera en mi programa que llama a este procedimiento almacenado)
> debo asignarselo a algun return con cierto tipo. ¿Como debo hacerlo?
>
http://www.postgresql.org/docs/8.2/static/plpgsql-statements.html#PLPGSQL-STATEMENTS-SQL-ONEROW
--
Atentamente,
Jaime Casanova
"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs and the universe trying
to produce bigger and better idiots.
So far, the universe is winning."
Richard Cook
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Miguel Rodríguez Penabad | 2007-07-08 11:02:23 | Re: 2 preguntas acerca de fechas |
| Previous Message | Miguel Rodríguez Penabad | 2007-07-08 01:16:18 | Re: 2 preguntas acerca de fechas |