I want to use just a single to_char function call (or other function) rather than two calls to get the result of 2011Q3 on 11.2.
I'd like:
select to_char(sysdate,'YYYY[something to indicate Q as text]Q') year_quarter
from dual;
Rather than:
select to_char(sysdate,'YYYY') ||'Q'||to_char(sysdate,'Q') year_quarter
from dual
Any ideas?