You can use CASE in sql server as per your need.
for example :
DECLARE @TestVal int
SET @TestVal = 3
SELECT
CASE @TestVal
WHEN 1 THEN 'First'
WHEN 2 THEN 'Second'
WHEN 3 THEN 'Third'
ELSE 'Other'
END
Please go to the link to learn more about case
CASE statement in SQL server[
^]