I know this should be easy(!) but it is a little late on a Friday...
I need to identify age in whole years as at run date for a query I am writing. Can anyone provide the sql syntax. (been working on sql server and DB2 too much lately.)
Have emplid, birthdate, need to derive age in years to build an age profile.
I have another 'rougher' version that rolls up 5 year age bands using case, but now need the actual number as a value returned in a query.
Thanks in advance
I need to identify age in whole years as at run date for a query I am writing. Can anyone provide the sql syntax. (been working on sql server and DB2 too much lately.)
Have emplid, birthdate, need to derive age in years to build an age profile.
I have another 'rougher' version that rolls up 5 year age bands using case, but now need the actual number as a value returned in a query.
Thanks in advance