2012年9月11日 星期二

列出當月日期

select trunc(sysdate , 'MM') + rownum - 1 as "月曆" from dba_objects where rownum < 31;

1 則留言:

  1. 參考其他的寫法

    http://www.plsqldevelop.com/2/select-beginning-of-each-month-in-a-date-range-79007.shtml

    回覆刪除