Answers for "oracle last day month"

SQL
3

oracle first day of last year

-- Oracle: First day of previous year
SELECT trunc(add_months(sysdate, -12), 'YEAR') FROM DUAL;
Posted by: Guest on July-03-2021
0

oracle last day of month

-- Last day of current month
SELECT trim(to_date(last_day(sysdate), 'DD/MM/YYYY')) AS LASTDAY FROM DUAL;
Posted by: Guest on April-13-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language