Jeff Moden (9/25/2012)
Michael Valentine Jones (9/25/2012)
You can use the function on the link below to find the age:Age Function F_AGE_IN_YEARS
Any chance of making it NOT a scalar function?
SELECT DATEDIFF(yy, 0, GETDATE() - DOB) Age_Way1,
YEAR(GETDATE()-DOB) -1900 Age_Way2
_____________
Code for TallyGenerator