I need:
SELECT
@SQLString5 =
COALESCE(@SQLString5 + ' ', '')
+ CASE(IF FIRST THEN ' FROM ' ELSE ' full OUTER JOIN ')
+ 'VV' + ZZZ.ZZ
FROM ZZZ
e.g. I'm building string by all nodes, and rule of building first node string part should be different, FIRST here is pseudocode.
is it possible?