Possible Duplicate:
How to calculate age in T-SQL with years, months, and days
On a project I was working on, I was required to calculate a persons age when they join the system; after looking on the internet I found various ways this could be done, but most of them had slight issues when it involved a Leap-Year.
The solution below is how I calculate number of years past / age. Hope this helps others