LOG (TSQL Function)

Returns the natural logarithm of the argument.

Syntax

LOG ( float_expression )

Arguments

float_expression
is an expression of type float.

Return Types

Returns float.

Remarks

The constant e is the base of the natural logarithm, and is approximately equal to 2.71828.

Examples

PRINT LOG(1), LOG(123.45);

The result is:

                     0|       4.81583621579119|