Re: Edad en años

From: Espartano <espartano(dot)mail(at)gmail(dot)com>
To: "Oscar Cano" <oscarcanorodriguez(at)gmail(dot)com>
Cc: pgsql-es-ayuda(at)postgresql(dot)org
Subject: Re: Edad en años
Date: 2007-12-23 18:47:41
Message-ID: d353bd50712231047x6f141282nbbb66bb6dc08845d@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

El 23/12/07, Oscar Cano <oscarcanorodriguez(at)gmail(dot)com> escribió:
> Pero date_part o extrac, me dan la parte de una fecha, ¿como puedo calcular
> la edad en años cumplidos?
>

-_- pues tienes que aplicar el date_part al resultado de age.

--
"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."

In response to

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Alvaro Herrera 2007-12-24 02:16:05 Re: problemas con conexion remota
Previous Message Oscar Cano 2007-12-23 13:36:27 Re: Edad en años