Comparer uniquement lorsque est numérique
select * from student
where
(
case when ISNUMERIC( linerevnum )
then cast (linerevnum as int)
else null
end ) = 1
ou simple :
select * from student
linerevnum = '1'
Comparer uniquement lorsque est numérique
select * from student
where
(
case when ISNUMERIC( linerevnum )
then cast (linerevnum as int)
else null
end ) = 1
ou simple :
select * from student
linerevnum = '1'