获取年龄周岁(准确的)
FLOOR(datediff(DY,birthDay,GETDATE())/365.25) --SQL
ShowMessage(IntToStr(Trunc((StrToDateTime('2017-03-01')-StrToDateTime('2016-02-29'))/365.25)));//delphi
FLOOR(datediff(DY,birthDay,GETDATE())/365.25) --SQL
ShowMessage(IntToStr(Trunc((StrToDateTime('2017-03-01')-StrToDateTime('2016-02-29'))/365.25)));//delphi