How to fetch month name from a given date in Oracle?
If the given date is '15-11-2010' then I want November from this date.
'15-11-2010'
November
select to_char(sysdate, 'Month') from dual
in your example will be:
select to_char(to_date('15-11-2010', 'DD-MM-YYYY'), 'Month') from dual
2.1m questions
2.1m answers
60 comments
57.0k users