Answers for "sql select merge multiple values"

SQL
0

sql select merge multiple values

DECLARE @combinedString VARCHAR(MAX)
SELECT @combinedString = COALESCE(@combinedString + ', ', '') + column_name
FROM table_name
WHERE ID = 1234

SELECT @combinedString as StringValue
Posted by: Guest on August-27-2020

Code answers related to "sql select merge multiple values"

Code answers related to "SQL"

Browse Popular Code Answers by Language