この場合、コンマ(、)である最後の文字を削除するだけです。
関数を試しましたが、文字列の長さがSubstring, Left, and Right
必要です。
シナリオは次のとおりです。-
select
(Case col1 & 1 When 1 Then 'Case 1,' Else '' End) +
(Case Col2 & 2 When 2 Then 'Case 2,' Else '' End) +
(Case Col3 & 4 When 4 Then 'Case 4,' Else '' End)
as Case
from table_01