摘要: 计算周岁的SQL语句:select trunc(months_between(sysdate,date'1992-12-8')/12) 年龄 from dual;用到两个函数:trunc和months_betweentrunc函数两种用法:1、trunc(number1,number2),只舍不入取... 阅读全文
posted @ 2015-10-02 13:19 郝小爬 阅读(2958) 评论(0) 推荐(1) 编辑