Obsidian/Recognition/Programing/Oracle/일자 일괄 생성.md

3 lines
121 B
Markdown
Raw Normal View History

2023-08-14 16:19:25 +00:00
SELECT TO_CHAR(TO_DATE('2021-01-01','YYYY-MM-DD') -1 + LEVEL, 'YYYYMMDD') AS "DATE"
FROM DUAL
CONNECT BY LEVEL <= 365;