Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: SQL Question:Age From Birthdate

Re: SQL Question:Age From Birthdate

From: Matthias Gresz <GreMa_at_t-online.de>
Date: 27 May 1998 07:14:39 GMT
Message-ID: <6kgegv$ic6$1@news01.btx.dtag.de>


Hi,

how about:

select floor(Months_between(sysdate, birthday)/12) from dual; ?

Michael Wallach schrieb:
>
> Does anyone know how using SQL I can determine someone's age based on
> their birthdate?
>
> Mike

--

Regards

Matthias Gresz :-)

GreMa_at_t-online.de Received on Wed May 27 1998 - 02:14:39 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US