Comparar apenas quando for numérico
select * from student
where
(
case when ISNUMERIC( linerevnum )
then cast (linerevnum as int)
else null
end ) = 1
ou simples:
select * from student
linerevnum = '1'
select * from student
where
(
case when ISNUMERIC( linerevnum )
then cast (linerevnum as int)
else null
end ) = 1
select * from student
linerevnum = '1'