I'm trying to set an SQL variable based on the numerical value of a different SQL parameter passed into a stored procedure, but having trouble with the exact syntax of the Case statement

```
DECLARE @RangeText varchar(1)

SELECT CASE  
WHEN (@SecondsOnSiteRange = 1) 
THEN SET @RangeText = '=' END
WHEN (@SecondsOnSiteRange = 2) 
THEN SET @RangeText = '>' END
WHEN (@SecondsOnSiteRange = 3)  
THEN SET @RangeText = '<' END
ELSE NULL
END

```

I'm sure it will be something small like a missing keyword or something, but when I search Google all I seems to be able to find is setting a the same variable, not a second one.