select replace(replace(convert(varchar, convert(money, 1000000), 112), '.00', ''), '.', ',')

--sql server 2012 覯 伎
select format(1000000,'#,#')