把int 类型转化为money 类型,再转化为varchar,去掉小数点同时以千分号‘,’分割。 select '$' + left(Convert(VARCHAR, cast(10000 as money), 1), LEN(Convert(VARCHAR, cast(10000 as money Read More
posted @ 2017-06-16 13:12 Tiger95 Views(444) Comments(0) Diggs(0) Edit