Oracle SQL Día del mes desde la fecha
select extract(day from systimestamp) from dual;
drew21
select extract(day from systimestamp) from dual;
-- Will return 'November'
select to_char(to_date('15-11-2010', 'DD-MM-YYYY'), 'Month') from dual
-- All dates between 01/01/2021 and 15/01/2021
SELECT to_date('01/01/2021', 'DD/MM/YYYY') + ROWNUM - 1
FROM ALL_OBJECTS
WHERE ROWNUM <= to_date('15/01/2021', 'DD/MM/YYYY')
- to_date('01/01/2021', 'DD/MM/YYYY') + 1;