LOG function [Numeric]

Function

Returns the natural logarithm of a number.

LN is an alias of LOG.

Syntax

LOG ( numeric-expression )

Parameters

numeric-expression The number.

Example

The following statement returns the value 3.912023:

SELECT LOG( 50 ) FROM iq_dummy

Standards and compatibility

See also

“LOG10 function [Numeric]”