SQL Case 1 Добавить строку

SELECT
  CASE WHEN @var1 = 1 THEN 'message 1 ' ELSE '' END +
  CASE WHEN @var2 = 1 THEN 'message 2 ' ELSE '' END as messages
Cristiano Santos