oracle根据当前时间和出生日期计算年龄 MONTHS_BETWEEN

TRUNC (
MONTHS_BETWEEN (SYSDATE, rp.CSRQ) / 12
) AS AGE,

posted @ 2018-12-11 17:39  程序员小明1024  阅读(3217)  评论(0编辑  收藏  举报