APPX Software Library

Chapter 4: SQL Language Elements

4.9.2.45 LOG10 function (ODBC compatible)

Syntax

LOG10 ( expression )

Description

The scalar function LOG10 returns the base 10 logarithm of expression.

Example

SELECT LOG10 (100) 'Log base 10 of 100'
     FROM SYSTPE.SYSCALCTABLE;

Notes

  • expression must evaluate to an approximate numeric data type.