Forum Replies Created

Viewing post 1 (of 2 total)

  • RE: Best Way to Calculate Age

    All of them are incorrect. I think the correct age will be:

    SELECT DATEDIFF(yy, DateOfBirth, GETDATE()) - CASE WHEN

    DATEPART(m, DateOfBirth) < DATEPART(m, GETDATE()) OR (DATEPART(m, DateOfBirth)...

Viewing post 1 (of 2 total)