一、带星期格式 1、SELECT to_char(to_date('2014-12-12','yyyy-mm-dd'),'MM-DD (DAY)') FROM DUAL 2、SELECT to_char(SYSDATE,'MM-DD (DAY)') FROM DUAL 返回格式: 12-12 (星期五)
一、带星期格式 1、SELECT to_char(to_date('2014-12-12','yyyy-mm-dd'),'MM-DD (DAY)') FROM DUAL 2、SELECT to_char(SYSDATE,'MM-DD (DAY)') FROM DUAL 返回格式: 12-12 (星期五)