Number To Be Displayed in Words

How to show the number to be displayed in words individually.
For example: 123 -> one two three
not one hundred twenty-three

Solution by Dharmendra :

The below code will show the desired result:

v_num_spel_word number:=124634;

n number;

v_part number(2);

v_word varchar2(20);



for i in 1..n



select to_char(to_date(v_part,'j'), 'jsp') into v_word from dual;

dbms_output.put(' '||v_word);

end loop;



Have a Oracle Question
Do you have an Oracle Question?

Oracle Books
Oracle Certification, Database Administration, SQL, Application, Programming Reference Books

Oracle Application
Oracle Application Hints and Tips

Oracle Home
Oracle Database, SQL, Application, Programming Tips

All the site contents are Copyright © and the content authors. All rights reserved.
All product names are trademarks of their respective companies.
The site is not affiliated with or endorsed by any company listed at this site.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
 The content on this site may not be reproduced or redistributed without the express written permission of or the content authors.