Answers for "first day of month oracle"

SQL
2

oracle sql first day of month

-- First day of month
SELECT TRUNC(sysdate, 'MONTH') from dual;
Posted by: Guest on January-18-2021
1

oracle sql first day of year

-- Oracle: First day of year
SELECT TRUNC(sysdate, 'YEAR') FROM DUAL;
Posted by: Guest on January-18-2021
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

Code answers related to "first day of month oracle"

Code answers related to "SQL"

Browse Popular Code Answers by Language