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
 Show numbers into words

Author  Topic 

Petronas
Posting Yak Master

134 Posts

Posted - 2012-01-19 : 12:09:53
Hi All,

I have Response_id which stores values 1,2,3,4 etc. Is there a way I can show them as 'One' , 'Two' , 'Three' , 'Four' etc ?

Thanks in advance,
Petronas

ehorn
Master Smack Fu Yak Hacker

1632 Posts

Posted - 2012-01-19 : 12:10:51
Hello Petronas,

One method would be to create a lookup table and join to it.

HTH.
Go to Top of Page

sunitabeck
Master Smack Fu Yak Hacker

5155 Posts

Posted - 2012-01-19 : 12:14:50
These links might be useful:
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=11157
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=86067
Go to Top of Page

Petronas
Posting Yak Master

134 Posts

Posted - 2012-01-19 : 14:59:23
Thank you for your help. Appreciate it.
Go to Top of Page
   

- Advertisement -