SELECT DATEDIFF(YEAR,'1986-09-01','2016-02-01') AS DiffDatedatepart缩写年yy, yyyy季度qq, q月mm, m年中的日dy, y日dd, d周wk, ww星期dw, w小时hh分钟mi, n秒ss, s毫秒ms微妙mcs纳秒ns