要先判断ExMaxWindV是否数值型:
select * from 表 where isnumeric(ExMaxWindV) > 0
再用语句
select * from 表
where 条件 in
(
select 条件 from 表 where isnumeric(ExMaxWindV) > 0
)
and ExMaxWindV > 200
select * into #tmp where isnumeric(ExMaxWindV) > 0
select * from #tmp where ExMaxWindV > 200
将exmaxwindv中有效数字提取出来 统一的转换成同一类型就行了