Oracle
 sql >> Base de Dados >  >> RDS >> Oracle

Oracle gera lista de datas da semana IW


Tente isto:
    SELECT TRUNC(SYSDATE - (LEVEL * 7), 'IW') TheDate
      FROM dual
   CONNECT BY LEVEL <= 7