Can you pls give sql query for a little complex functionality [message #19958] |
Sun, 21 April 2002 20:12 |
Amarnath Revuri
Messages: 3 Registered: April 2002
|
Junior Member |
|
|
How i can write an SQL query which results the currency value( or
number) in words. For example: if the query "SELECT SAL FROM EMP WHERE
EMPNO = 1234" results a value of 7890.
The 7890 should be displayed as "SEVEN THOUSAND AND EIGHT HUNDRED NINTY".
Note:- One should use only SQL queries but not PL/SQL programming.
Thanks,
Amarnath Revuri
|
|
|
|