sql concat columns into string code example
Example 1: sql concat string with column value
SELECT CONCAT(name, "string_value") AS name
FROM
users;
Example 2: concat two columns in sql server
select Convert(nvarchar(50),ID)+'-'+Convert(nvarchar(50),Year) as ID_Year from tablename