Convert Number into Words in the Indian Numbering System
问题 I am converting numbers to words with this code select to_char(to_date(:number,'j'),'jsp') from dual; when I enter value 100000 then output is One Hundred Thousand but I want output show: One Lac How to handle it? 回答1: SQL Fiddle Oracle 11g R2 Schema Setup : CREATE TABLE numbers ( value ) AS SELECT 0 FROM DUAL UNION ALL SELECT 123456 FROM DUAL UNION ALL SELECT 12345678 FROM DUAL UNION ALL SELECT 1234567890123 FROM DUAL UNION ALL SELECT 123456789012345 FROM DUAL UNION ALL SELECT