XQuery使用sum求和,提示char不能转换为money解决方法

select axml.value('sum(/root/pro/price)','money')

以上代码提示‘char不能转换为money’的错误,发现值为'0.0E0'。改为:

select axml.value('sum(/root/pro/price)','float')

问题解决。

why?

原文地址:https://www.cnblogs.com/slmk/p/6366077.html