From: | Espartano <espartano(dot)mail(at)gmail(dot)com> |
---|---|
To: | "Miguel A(dot) Valero" <mivaler(at)gmail(dot)com> |
Cc: | PGSQL <pgsql-es-ayuda(at)postgresql(dot)org> |
Subject: | Re: Se puede???????????? |
Date: | 2007-04-09 21:40:03 |
Message-ID: | d353bd50704091440t18d6561el63e5de5672dc1664@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-es-ayuda |
On 4/9/07, Miguel A. Valero <mivaler(at)gmail(dot)com> wrote:
> Hola lista!!!!
>
> Una función puede devolver líneas? Como si se tratase de una consulta?
>
> Select funcion();
>
> 1 campo1,campo2,campo3
> ..
> n campo1,campo2,campo3
>
> -- Migue.
Si, tienes que devolver un tipo de dato llamado record, y a la hora de
hacerle select funcion() tienes que espesificar los campos y el tipo
debuelto.
--
"Linux is for people who hate Windows, BSD is for people who love UNIX".
"Social Engineer -> Because there is no patch for human stupidity"
"The Unix Guru's View of Sex unzip ; strip ; touch ; grep ; finger ;
mount ; fsck ; more ; yes ; umount ; sleep."
"Documentation is like sex: when it is good, it is very, very good;
and when it is bad, it is better than nothing."
From | Date | Subject | |
---|---|---|---|
Next Message | Victor Lopez | 2007-04-09 22:45:31 | Re: generar cadenas alfanumericas |
Previous Message | Alvaro Herrera | 2007-04-09 21:28:21 | Re: generar cadenas alfanumericas |