In Oracle I'd simply type:
SELECT TO_CHAR (COUNT ( * ), '999,999,999') AS row_count
FROM MyTable;
but in SQL server I find myself jumping through hoops and end up with:
select convert(varchar, CAST(COUNT(*) as money),1) as row_count
from MyTable;
Converting to money?? This seems to be recommended technique on the SQL forums. You still need another step to strip out the decimal places that money will give you as well.
Guess you could argue that you would likely format at the Excel or SSRS stage but should really be able to do this more simply in SSMS.