Returns the base 10 logarithm of the specified number.
log10(approx_numeric)
is any approximate numeric (float, real, or double precision) column name, variable, or constant expression.
select log10(20)
-------------------- 1.301030
log10, a mathematical function, returns the base 10 logarithm of the specified value.
For general information about mathematical functions, see “Mathematical functions”.
ANSI SQL – Compliance level: Transact-SQL extension.
Any user can execute log10.