Calculates the natural logarithm of the specified number.
log(approx_numeric)
is any approximate numeric (float, real, or double precision) column name, variable, or constant expression.
select log(20)
-------------------- 2.995732
log, a mathematical function, returns the natural logarithm of the specified value.
ANSI SQL – Compliance level: Transact-SQL extension.
Any user can execute log.