@endPercentile is a string that occasionally has a leading less-than or greater-than sign which I'm trying to strip. This code doesn't seem to be working. Can anyone give me some pointers? Thanks much.
IF (LEFT(@endPercentile, 1) = '<' OR LEFT(@endPercentile, 1) = '>')
BEGIN
SET @endPercentile = RIGHT(@endPercentile, LEN(@endPercentile)-1)
END