Answers for "sql select column as comma separated list"

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 select column as comma separated list"

Code answers related to "SQL"

Browse Popular Code Answers by Language