select to_char(sysdate, 'yyyy') from dual;

 select to_char(sysdate, 'mm') from dual;

 select to_char(sysdate, 'dd') from dual;

posted on 2012-02-03 11:08  小波Ooo  阅读(130)  评论(0)    收藏  举报