Wednesday, August 08, 2012

how to get age by giving date

select floor(datediff(day,@birthdate,@todaysdate)/365.25)

No comments:

Post a Comment