LOG

Description

Returns the natural logarithm of a number (LOG in Transact-SQL).

Sample Source Pattern

Syntax

LOG( expression [, base ] )

Arguments

expression: Numeric expression.

base (optional): Base to calculate the logarithm of a number, it is Euler by default.

Return Type

Float.

Examples

SELECT LOG(8, 2)

Last updated