SQL> select to_char( to_date(12345,'J'), 'JSP') from dual; TO_CHAR(TO_DATE(12345,'J'),'JSP') ---------------------------------------- TWELVE THOUSAND THREE HUNDRED FORTY-FIVE