Answers for "sql in convert comma separated column to value"

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
2

sql column values comma separated

SELECT STRING_AGG(columnName,',') from tableName
Posted by: Guest on June-29-2021

Code answers related to "sql in convert comma separated column to value"

Code answers related to "SQL"

Browse Popular Code Answers by Language