I am getting this error when I run the case statement below. I think I have to convert at some point, but not sure where or how.
Conversion failed when converting the varchar value 'reassign' to data type int.
,(CASE WHEN Mstime <=10 THEN CAST('reassign' as varchar(30) )
WHEN Mstime >=10 THEN Mstime END ) as TimeGroup