From: | "Jaime Casanova" <systemguards(at)gmail(dot)com> |
---|---|
To: | "GABRIEL COLINA" <colina_movil(at)yahoo(dot)com> |
Cc: | "Alvaro Herrera" <alvherre(at)commandprompt(dot)com>, "Sergio Vizcaino" <SergioV(at)azud(dot)es>, pgsql-es-ayuda(at)postgresql(dot)org |
Subject: | Re: Obtener los primeros registros de una consulta. |
Date: | 2007-02-10 14:37:21 |
Message-ID: | c2d9e70e0702100637r6854b805vaaa27831fb21b6d6@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-es-ayuda |
On 2/10/07, GABRIEL COLINA <colina_movil(at)yahoo(dot)com> wrote:
> >para que hacer una funcion setof, si no le permites regresar mas que
> un registro?
>
> > select * from central.cabezales limit $1
>
> Eso no lo interpretaste bien,
>
> $1, no se refiere a un registro si no a N registro, cuya cantidad a devolver
si, tienes razon parece que estaba mas dormido de lo que creia ;)
--
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 | GABRIEL COLINA | 2007-02-10 14:52:38 | Como escribir en la Lista. |
Previous Message | Alvaro Herrera | 2007-02-10 14:29:09 | Re: OT: Netiquette y asuntos genéricos |