How to get month from date
996004Mar 31 2013 — edited Apr 1 2013I'm currently using oracle database 11g r2. I tried to get Month from date field from my database table. I got an error, "non numeric character was found"
SELECT * FROM ATTENDENCE WHERE EMPID='E001' AND ATTENDENCEDATE=to_char(DATE_FIELD, 'Month')';
This is the query I tried.
How can I that error with this query.
Thanks in Advance.