Answers for "sql server concat columns with comma"

SQL
2

sql server: how to concatenate column data using comma

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

concat two columns in sql server

select Convert(nvarchar(50),ID)+'-'+Convert(nvarchar(50),Year) as ID_Year from tablename
Posted by: Guest on July-23-2020

Code answers related to "sql server concat columns with comma"

Code answers related to "SQL"

Browse Popular Code Answers by Language