在一个表中拥有出生日期时,用year()的方法无法计算出年龄
select year(getdate())-year(sage) 年龄 from student
getdate可以直接获得标准格式的日期吗,我一般都用substr() 截取前四位的