Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Display Rupees In Words

Author  Topic 

taj
Starting Member

39 Posts

Posted - 2013-08-29 : 08:38:14
Hi All,

In the below query i need display the amount in words also. How to do that in sql server?

SELECT ROUND(SUM(BM.CONCESSION_AMOUNT_M),2)AS[TOTAL_CONCESSION_GIVEN] FROM BILL_MASTER BM

Thanks You,

James K
Master Smack Fu Yak Hacker

3873 Posts

Posted - 2013-08-29 : 09:28:49
Google found me this: http://www.novicksoftware.com/udfofweek/Vol2/T-SQL-UDF-Vol-2-Num-9-udf_Num_ToWords.htm
Seems reasonable. Give that a try.
Go to Top of Page

James K
Master Smack Fu Yak Hacker

3873 Posts

Posted - 2013-08-29 : 09:29:53
That is a little dated. You might find better solutions if you search deeper. But looking at the code, that does seem reasonable even in SQL 2014 world.
Go to Top of Page
   

- Advertisement -