Oracle 日期类型 取各个字段

yyyy 取年度: Select to_char(sysdate,'yyyy') from dual; MM 取月份: Select to_char(sysdate,'MM') from dual; dd 取年度: Select to_char(sysdate,'dd') from dual; WW 本年度第几周: Select to_char(sysdate
相关文章
相关标签/搜索