Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: convert number to word ???

Re: convert number to word ???

From: Shannon St. Dennis <SSTDENNI_at_regina.ca>
Date: Fri, 22 Aug 2003 14:29:26 -0800
Message-ID: <F001.005CC83D.20030822142926@fatcity.com>


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)
sstdenni_at_cityregina.com  

The degree of normality in a database is inversely proportional to that of its DBA  

>>> andreaoracle_at_yahoo.com 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: andreaoracle_at_yahoo.com 

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: ListGuru_at_fatcity.com (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).




-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Shannon St. Dennis
  INET: SSTDENNI_at_regina.ca

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: ListGuru_at_fatcity.com (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).
Received on Fri Aug 22 2003 - 17:29:26 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US