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!

ORA-01481: invalid number format model

449465May 26 2010 — edited May 26 2010
Dear all,
I have a date coulmn in my table as for example: 20100414(yyyymmdd).

i want it to display as APR-2010 (MON-YYYY)

here is my select statement.


SELECT a.sys_cd, to_char( a.trans_dt_key,'MON-YYYY') TRANS_DATE, COUNT(*)
FROM sls_f_transaction a
GROUP BY a.sys_cd, to_char( a.trans_dt_key,'MON-YYYY');

ITS GIVING ME
ORA-01481: invalid number format model

Thank you
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 23 2010
Added on May 26 2010
8 comments
3,550 views