SQL – SQL Server CONCAT() Function
The SQL Server CONCAT() function adds two or more strings together.
The SQL Server CONCAT() function adds two or more strings together.
The SQL Server + operator allows you to add two or more strings together.
The SQL Server CONCAT_WS() function adds two or more strings together with a separator.
The SQL Server DATALENGTH() function returns the number of bytes used to represent an expression.
The SQL Server DIFFERENCE() function compares two SOUNDEX values, and returns an integer.
The SQL Server FORMAT() function formats a value with the specified format (and an optional culture in SQL Server 2017).
The SQL Server LEFT() function extracts a number of characters (starting from left) from a string.
The SQL Server LEN() function returns the length of a string. Trailing spaces (after) are not included, but leading spaces (before) are included.
The SQL Server LTRIM() function removes leading spaces from a string. Leading spaces are spaces before (left of) the string.
The SQL Server NCHAR() function returns the Unicode character based on the number code provided.
The SQL Server PATINDEX() function returns the position of a pattern in a string. If the pattern is not found, this function returns 0.
The SQL Server QUOTENAME() function returns a Unicode string with delimiters added to make the string a valid SQL Server delimited identifier.
The SQL Server REPLACE() function replaces all occurrences of a substring (case-insensitive) within a string, with a new substring.
The SQL Server REPLICATE() function repeats a specified string a specified number of times.
The SQL Server REVERSE() function reverses a specified string and returns the result.
The SQL Server RIGHT() function extracts a number of characters (starting from right) from a string.
The SQL Server RTRIM() function removes trailing spaces from a string. Trailing spaces are spaces after (right of) the string.
The SQL Server SOUNDEX() function returns a four-character code to evaluate the similarity of two expressions.
The SQL Server SPACE() function returns a string of the specified number of space characters.