In a SQL Server database, I record people\'s date of birth. Is there an straight-forward method of working out the person\'s age on a given date using SQL only?
Usi
SELECT Pname, DOB, DATEDIFF(YEAR, DOB, GETDATE()) AS Age FROM tablename