SQL – SQL Server NULLIF() Function
The SQL Server NULLIF() function returns NULL if two expressions are equal, or returns the first expression if they are not equal.
The SQL Server NULLIF() function returns NULL if two expressions are equal, or returns the first expression if they are not equal.
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 POWER() function returns the value of a number raised to the power of another number.
The SQL Server RADIANS() function converts a degree value (expressed as a positive or negative number) into radians.
The SQL Server RAND() function returns a random number between 0 (inclusive) and 1 (exclusive).
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 ROUND() function rounds a number to a specified number of decimal places.
The SQL Server RTRIM() function removes trailing spaces from a string. Trailing spaces are spaces after (right of) the string.
The SQL Server SESSION_USER function returns the name of the current user in the SQL Server database.
The SQL Server SESSIONPROPERTY() function returns the session settings for a specified option.
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.
The SQL Server SQRT() function returns the square root of a positive number.