I am getting a value from database and I want this value to be converted into a word in Mysql. can someone please help me out.
Eg: 123 --> this value am getting from database and it is getting saved in a numeric form and I want to retrieve this value as hundred and twenty three from the database.
What is the syntax to do that?
Query is like this:
select 'value' from value_table where date is '10-10-2012';
ans is--> 123
I want this value to be displayed as hundred and twenty three.
Please help me out.
taken from this website: http://viralpatel.net/blogs/convert-number-into-words-oracle-sql-query/
I think this can help you... it's just a way to do it: