标签:
select sum(cast(totalmoney AS DECIMAL)) as totalmoney from dbo.t_wxbill
SQL Server-数据库中强varchar类型使用sum函数计算总和
原文地址:http://www.cnblogs.com/dekevin/p/4761384.html