SQL – SQL Server ASCII() Function
The SQL Server ASCII() function returns the ASCII value for the specified character.
The SQL Server ASCII() function returns the ASCII value for the specified character.
The SQL Server CHAR() function returns the character based on the ASCII code specified.
The SQL Server CHARINDEX() function searches for a substring in a string, and returns the position. If the substring is not found, this function returns 0.
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.