0
我已经逗号分隔字符串TSQL打破了逗号分隔字符串,然后循环
a=1,2,3,4
现在我想通过它在TSQL在SQL中使用1,2,3等查询打破这个字符串,然后循环Server 2008的
set @sql = @sql + ' and (ClassicStation.int_WheatherTypeId = a[i]) AND (ClassicStation.int_MeasurementId IN (1,2)) or'