concatenate strings sql code example
Example 1: concatenation in sql
We use "||" to concatenation in Sql
example:
WHERE LOWER(FIRST_NAME || LAST_NAME) LIKE '%d%' ;
Example 2: concat two columns in sql server
select Convert(nvarchar(50),ID)+'-'+Convert(nvarchar(50),Year) as ID_Year from tablename