摘要: select abs(trunc(sysdate,'MM')-trunc(TO_DATE('2010-10-11','YYYY-MM-DD'),'MM')) from dual;相当于sql datediff(m,...) SELECT EXTRACT(YEAR FROM SYSDATE) FROM DUAL; return Current Year SELECT EXTRACT(MONTH... 阅读全文
posted @ 2010-10-11 14:29 奋斗, 奋斗, 奋斗! 阅读(169) 评论(0) 推荐(0) 编辑