select EXTRACT(year FROM to_date(to_char(sysdate,'yyyy-mm-dd'),'yyyy-mm-dd')) -
EXTRACT(year FROM to_date('2000-12-12','yyyy-mm-dd')) from dual;
日期:2014-05-16 浏览次数:20480 次
select EXTRACT(year FROM to_date(to_char(sysdate,'yyyy-mm-dd'),'yyyy-mm-dd')) -
EXTRACT(year FROM to_date('2000-12-12','yyyy-mm-dd')) from dual;