Oracle SQL generuje listę dni
SELECT trunc(sysdate - ROWNUM) DT
FROM DUAL
CONNECT BY ROWNUM < 366;
VasteMonde
SELECT trunc(sysdate - ROWNUM) DT
FROM DUAL
CONNECT BY ROWNUM < 366;