Answers for "sql server: select column values as comma separated string"

SQL
2

sql server: select column values as comma separated string

DECLARE @SQL AS VARCHAR(8000)
SELECT @SQL = ISNULL(@SQL+',','') + ColumnName FROM TableName
SELECT @SQL
Posted by: Guest on June-19-2020

Code answers related to "sql server: select column values as comma separated string"

Code answers related to "SQL"

Browse Popular Code Answers by Language