Using the below code gives me a incorrect syntax near '>' the data in the Long field looks like this:
Review Body 3,
Review body 6,
Aprentice,
I've been going around in cirlces for hours traying to sort this, is it becasue I'm using a text function (Right) in a calc.
SELECT TOP 1000 [Id]
,[Short]
,[Long]
,CASE ISNUMERIC(RIGHT( grade.Long , 1 )) WHEN cast(RIGHT( shiftname.Long , 1 )as int) > 4 THEN 'Qualified' ELSE 'Unqualified' END as Grade
FROM [RosterPro_Live].[dbo].[lookup_PostGrade] as grade