sql first day quarter

Solutions on MaxInterview for sql first day quarter by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "sql first day quarter"
Facundo
29 Jan 2019
1-- trunc(date, format)						DUAL is for Oracle
2SELECT trunc(sysdate, 'Q') FROM DUAL;       -- 1rst quarter day
3SELECT trunc(sysdate) FROM DUAL;            -- today 00:00:00
4SELECT trunc(sysdate, 'YEAR') FROM DUAL;    -- 1rst year day
5SELECT trunc(sysdate, 'MONTH') FROM DUAL;   -- 1rst month day