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.
Author |
Topic |
MDiwakar
Starting Member
6 Posts |
Posted - 2008-01-22 : 07:23:05
|
Is there anyway to display a number separated by commas.Say for example :a=500000This should be displayed as 5,00,000Thanks in advance. |
|
sunil
Constraint Violating Yak Guru
282 Posts |
Posted - 2008-01-22 : 07:25:20
|
Where do you want to display result of it i.e. what application (platform) you are working on? |
 |
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2008-01-22 : 07:25:55
|
guess this is a front end issue. Better to do it at ur front end. |
 |
|
khtan
In (Som, Ni, Yak)
17689 Posts |
Posted - 2008-01-22 : 07:26:01
|
do this in your front end applicationuse money data typedeclare @a moneyselect @a = 50000select convert(varchar(10), @a, 1) KH[spoiler]Time is always against us[/spoiler] |
 |
|
khtan
In (Som, Ni, Yak)
17689 Posts |
Posted - 2008-01-22 : 07:26:54
|
DAMN ! double  KH[spoiler]Time is always against us[/spoiler] |
 |
|
|
|
|