puedes encadenar varios cases en uno solo
select case when 1=1 then else yo
when 2=2 then tu
when 3=3 then el else otro end
Código SQL:
Ver originalCREATE TABLE #temp
(
dato VARCHAR(20)
)
INSERT INTO #temp VALUES ('yo')
INSERT INTO #temp VALUES ('tu')
INSERT INTO #temp VALUES ('el')
INSERT INTO #temp VALUES ('nos')
INSERT INTO #temp VALUES ('yo')
SELECT CASE WHEN dato='yo' THEN 1
WHEN dato='tu' THEN 2
WHEN dato='el' THEN 3 ELSE 4 END AS columna,dato
FROM #temp