Hi Lily,
Not sure if you could easily do that using SQL. But that is easlily done in .Net using C#.
Code:
String.Format("{0:#,###}", VariableName);
You can play around with that.
Hope that helps.
Cheers!
_________________________
- Vijay G
Strive for Perfection