convert(int, ‘1232 ‘)
–or
cast( ‘1232 ‘ as int)
select sum(cast(
分数
as int))
分数
from
考核
转载于:https://www.cnblogs.com/maxblog/archive/2010/07/23/1783995.html