Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Datename doesnt work!

688478Mar 4 2009 — edited Mar 4 2009
Hi

I tried the following code in sql*Plus:

select datename(month, getdate()) from dual;

and i got the following error:

ORA-00904: "DATENAME": invalid identifier

I want to extract the current month as month name. Can you please point out the error here?

Thanks
Kamal
This post has been answered by 21205 on Mar 4 2009
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 1 2009
Added on Mar 4 2009
3 comments
6,002 views