PL / SQL Date Add at Quarter Intervals
996929Mar 14 2013 — edited Mar 14 2013I am looking to select a date in 'DD-MON-YYYY' format, convert this to 'Q-YYYY' format and add or subtract at the interval of Quarter. E.g. trunc(sysdate,'Q-YYYY') -1 would return 4-2012.
This appears to be possible whilst using other intervals e.g.
trunc(sysdate,'iw') -7 returns 04-MAR-13 without error.
Please advise if possible.
Thanks in advance,