select sum(convert(decimal(20,2),列明)) from 表名 where IsNumeric(列名) = 1
sql 判断字符类型能否转换为数值类型
猜你喜欢
转载自www.cnblogs.com/xiemin-minmin/p/12195977.html
今日推荐
周排行