Function to calculate a persons Age in T-SQL

This function will calculate a persons age at a specified date. Two parameters are required, @DOB for the persons date of birth and @Date for the date at which to calculate the persons age. You can use the GetDate() function for the second parameter to return a persons current age. ................
................