Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
Trininole
Yak Posting Veteran
83 Posts |
Posted - 2010-09-24 : 13:20:18
|
| what is the syntax of calculating the age of a person using the datediff function and getdate if there is any?Roger DeFour |
|
|
X002548
Not Just a Number
15586 Posts |
|
|
Michael Valentine Jones
Yak DBA Kernel (pronounced Colonel)
7020 Posts |
Posted - 2010-09-24 : 14:00:25
|
| Computing the age of someone is more difficult than it might seem when you take into account different month lengths, leap year, and other things.This function returns age in years.Age Function F_AGE_IN_YEARS:http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=74462CODO ERGO SUM |
 |
|
|
|
|
|