Answers for "sql concatenate rows"

SQL
1

SQL: merging multiple row data in string

DECLARE @Names VARCHAR(8000) 
SELECT @Names = COALESCE(@Names + ', ', '') + 
    ISNULL(Name, 'N/A')
FROM People
Posted by: Guest on January-04-2021
4

concatenation in sql

We use "||" to concatenation in Sql

example:
WHERE LOWER(FIRST_NAME || LAST_NAME)  LIKE '%d%' ;
Posted by: Guest on January-07-2021
-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 concatenate rows"

Code answers related to "SQL"

Browse Popular Code Answers by Language