Journal Journal: Calculating someones age, part II
I have written something on age calculation in MS SQL server before, but this information seemed to be incorrect. E.g. the query
select datediff(year, '2005-10-10', '2006-4-8');
returns 1, which is not what you want when you want to calculate someones age.
A clumsy workaround is given on Windows IT pro.