SQL – SQL Server DIFFERENCE() Function
The SQL Server DIFFERENCE() function compares two SOUNDEX values, and returns an integer.
The SQL Server DIFFERENCE() function compares two SOUNDEX values, and returns an integer.
The SQL Server EXP() function returns the natural logarithm e (2.718281…) raised to the power of the specified number.
The SQL Server FLOOR() function returns the largest integer value that is smaller than or equal to a number.
The SQL Server FORMAT() function formats a value with the specified format (and an optional culture in SQL Server 2017).
The SQL Server GETDATE() function returns the current database system date and time, in a “YYYY-MM-DD hh:mm:ss.mmm” format.
The SQL Server GETUTCDATE() function returns the current database system UTC date and time, in a “YYYY-MM-DD hh:mm:ss.mmm” format.
The SQL Server IIF() function returns a value if a condition is TRUE, or another value if a condition is FALSE.
The SQL Server ISDATE() function checks an expression and returns 1 if it is a valid date, and 0 if it is NOT a valid date.
The SQL Server ISNULL() function returns a specified value if the expression is NULL, and the expression itself if the expression is NOT NULL.
The SQL Server ISNUMERIC() function tests whether an expression is numeric, and returns 1 if the expression is numeric and 0 if it is not numeric.
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 LOG() function returns the natural logarithm of a specified number, or the logarithm of the number to the specified base.
The SQL Server LOG10() function returns the natural logarithm of a number greater than 0 to base 10.
The SQL Server LTRIM() function removes leading spaces from a string. Leading spaces are spaces before (left of) the string.
The SQL Server MAX() function returns the maximum value in a set of values.
The SQL Server MIN() function returns the minimum value in a set of values.
The SQL Server MONTH() function returns the month part for a specified date (a number from 1 to 12).
The SQL Server NCHAR() function returns the Unicode character based on the number code provided.