Showing posts with label calculate Age using SQL Query. Show all posts
Showing posts with label calculate Age using SQL Query. Show all posts
StumbleUpon
Share on Facebook

Monday, April 16, 2007

GetAge - Get Age Using SQL Query

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
Related Posts Plugin for WordPress, Blogger...