SQL LOG10 Function

LOG10 returns the logarithm with base 10 of the specified value.

LOG10(value) is the same as using LOG(value, 10).

For a different base, use the LOG function instead.

Example

#

This example return the base-10 logarithm of the input value.

SELECT LOG10(100) AS 'Log 100'
Result:  1 record
Log 100
2

Syntax

Syntax of the LOG10 function.

LOG10(value)

value -- a number greater than 0.


You may also like



Guides


vsn 3.1