Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: SQL Question:Age From Birthdate
select trunc(trunc(sysdate-birthday)/365) from emp;
Michael Wallach wrote:
>
> Does anyone know how using SQL I can determine someone's age based on
> their birthdate?
>
> Mike
--
Stanley Fung | Software Analyst Mobile Data Solutions Inc. | Direct Line: (604)207-6290 Suite 135 | Tel: (604)270-9939 10551 Shellbridge Way, | Fax: (604)270-1310 Richmond, B.C. | E-Mail: sfung_at_mdsi.bc.ca Canada V6X-2W9 | http://www.mdsi-advantex.com ------------------------------------------------------------Received on Tue May 26 1998 - 15:54:31 CDT
![]() |
![]() |