I have written a query in SQL Server 2000. I am showing the sum, I want the sum to be comma separated (eg., 100,000,000)
How to get in this format.
And also I am calculating percentage, some values has 2 digits before decimal place and some has 1 digit before decimal place. If it has 1 digit before decimal place I want to add a '0' before that. (eg., 9.24% --- 09.24%). How to get this.
What format I have to use to get these results.
How to get in this format.
And also I am calculating percentage, some values has 2 digits before decimal place and some has 1 digit before decimal place. If it has 1 digit before decimal place I want to add a '0' before that. (eg., 9.24% --- 09.24%). How to get this.
What format I have to use to get these results.