Result: 'TipsMake.com'
SELECT 'Quan' + 'tri' + 'mang' + '.com';
Result: 'TipsMake.com''
SELECT 'Quan ' + 'Tri ' + 'Mang ';
Result: 'Quan Tri Mang'
When combining strings together, you can add whitespace characters to separate your linked values for easier reading.
SELECT 'Orange' + ' ' + 'Peach' + ' ' + 'Apple';
Result: 'Orange Peach Apple'
In this example, Quantrimang used the + operator to add a space character between values Orange, Peach and Apple. This will help the strings not be tied together.
Previous article: CONCAT function in SQL Server
Next lesson: DATALENGTH function in SQL Server