Answers for "sql concatenate rowss"

SQL
1

SQL: merging multiple row data in string

DECLARE @Names VARCHAR(8000) 
SELECT @Names = COALESCE(@Names + ', ', '') + 
    ISNULL(Name, 'N/A')
FROM People
Posted by: Guest on January-04-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language