select to_char(trunc(to_date('2015/01/01'),'mm')+RowNum-1,'yyyy/mm/dd') as calender
from all_catalog
where trunc(to_date('2015/01/01'),'mm')+RowNum-1 <= trunc(to_date('2015/04/01'));
trunc:日付を年月日で丸める
RowNum:列番号
all_catalog:
sysdate:システム日付(年月日時分秒)を、DATE型のデータで取得する
to_date:
最終更新:2015年02月20日 09:10