Answers for "Select Column values as Comma Separated (Delimited) string in SQL Server"

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
0

search from comma separated values in sql server

WHERE tablename REGEXP "(^|,)@search(,|$)"
Posted by: Guest on January-11-2021

Code answers related to "Select Column values as Comma Separated (Delimited) string in SQL Server"

Code answers related to "SQL"

Browse Popular Code Answers by Language