Answers for "oracle sql first day of quarter"

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
0

oracle sql first day of year

-- Oracle: First day of year
SELECT TRUNC(sysdate, 'YEAR') FROM DUAL;
Posted by: Guest on January-18-2021
1

oracle sql first day of quarter

-- trunc(date, format)						DUAL is for Oracle
SELECT trunc(sysdate, 'Q') FROM DUAL;       -- 1rst quarter day
SELECT trunc(sysdate) FROM DUAL;            -- today 00:00:00
SELECT trunc(sysdate, 'YEAR') FROM DUAL;    -- 1rst year day
SELECT trunc(sysdate, 'MONTH') FROM DUAL;   -- 1rst month day
Posted by: Guest on May-04-2021

Code answers related to "oracle sql first day of quarter"

Code answers related to "SQL"

Browse Popular Code Answers by Language