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

3 lines
121 B
Markdown

SELECT TO_CHAR(TO_DATE('2021-01-01','YYYY-MM-DD') -1 + LEVEL, 'YYYYMMDD') AS "DATE"
FROM DUAL
CONNECT BY LEVEL <= 365;