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  阅读(126)  评论(0编辑  收藏  举报