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
 SQL Server 2000 Forums
 SQL Server Development (2000)
 transform

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2006-11-07 : 07:28:10
randy thio writes "can sql used for this command ??

example.
120 its become one hundred and twenty

also can it changed into indonesia language ?

thanks before it

randy thio"

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2006-11-07 : 07:36:22
Write a function and use % (modulo) operator and integer division.


Peter Larsson
Helsingborg, Sweden
Go to Top of Page

Kristen
Test

22859 Posts

Posted - 2006-11-07 : 07:54:55
Did you try Google?

First one in the list:

http://www.novicksoftware.com/UDFofWeek/Vol2/T-SQL-UDF-Vol-2-Num-9-udf_Num_ToWords.htm

I didn't check if it does what it says on the tin though.

Kristen
Go to Top of Page
   

- Advertisement -