SQL Server, how to merge two columns into one column? SQL Server, how to merge two columns into one column? sql sql

SQL Server, how to merge two columns into one column?


Try this:

SELECT TABLE_SCHEMA + '.' + TABLE_NAME AS ColumnZ FROM information_schema.tables


SELECT CONCAT(TABLE_SCHEMA, '.', TABLE_NAME) AS ColumnZ FROM information_schema.tables


This code work for you try this....

SELECT Title,FirstName,lastName, ISNULL(Title,'') + ' ' + ISNULL(FirstName,'') + ' ' + ISNULL(LastName,'') as FullName FROM Customer