I got this off of metalink:
 
select to_char( to_date( &&1, 'J' ), 'jsp' ) from dual;
 
SQL> select to_char( to_date( 123,'J'), 'jsp') from dual;
TO_CHAR(TO_DATE(123,'J')
----------------------------------
one hundred twenty-three
 
SQL> select to_char( to_date( 123,'J'), 'Jsp') from dual;
TO_CHAR(TO_DATE(123,'J')
----------------------------------
One Hundred Twenty-Three

SQL> select to_char( to_date( 123,'J'), 'JSP') from dual;
TO_CHAR(TO_DATE(123,'J')
----------------------------------
ONE HUNDRED TWENTY-THREE
 
I suspect there is an upper limit imposed by some integer conversion or julian date thingy...
 
Shannon
 
 
Shannon St. Dennis
Database Administrator
City of Regina
(306) 777-7415 (phone)
(306) 777-6804 (fax)
[EMAIL PROTECTED]
 
The degree of normality in a database is inversely proportional to that of its DBA
 
>>> [EMAIL PROTECTED] 08/22/03 03:19pm >>>
Hi,

Is there a function that can conver number to word?
ef:  100 is ONE HUNDRED, 2003 is TWO THOUSAND AND
THREE.  Thank you in advanced!!!

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Andrea Oracle
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to