concat two columns in sql server
snippet in sql

concat two columns in sql server

user7151

select Convert(nvarchar(50),ID)+'-'+Convert(nvarchar(50),Year) as ID_Year from tablename