Returns the base 10 logarithm of a number.
LOG10( numeric-expression )
numeric-expression The number.
This function converts its argument to DOUBLE, and performs the computation in double-precision floating-point arithmetic. If the parameter is NULL, the result is NULL.
The argument is an expression that returns the value of any built-in numeric data type.
SQL/2008 Vendor extension.
The following statement returns the base 10 logarithm for 50.
SELECT LOG10( 50 );