How to calculate Age using SQL Query
DateDiff function can be used to get the Age from the birth date
Select BirthDate, DateDiff(year, BirthDate, getdate()) as Age from HumanResources.Employee
Showing posts with label calculate Age using SQL Query. Show all posts
Showing posts with label calculate Age using SQL Query. Show all posts
Monday, April 16, 2007
Subscribe to:
Posts (Atom)