| Posted by Erland Sommarskog on 06/11/66 11:50 
oviam packirisamy (oviam@sify.com) writes:> how to convert  number to string in sqlserver
 >  eg:-  10 -> ten display
 
 SELECT CASE number
 WHEN 1 THEN 'one'
 WHEN 2 THEN 'two'
 ...
 END as display
 
 In short, there is nothing built in.
 
 
 --
 Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
 
 Books Online for SQL Server 2005 at
 http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
 Books Online for SQL Server 2000 at
 http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
  Navigation: [Reply to this message] |