This Oracle tutorial explains how to use the Oracle/PLSQL LOG function with syntax and examples.
The Oracle/PLSQL LOG function returns the logarithm of n base m.
The syntax for the LOG function in Oracle/PLSQL is:
Value used in the calculation. It must be a positive number, except 0 or 1.
Value used in the calculation. It must be a positive number.
The LOG function returns a numeric value.
The LOG function can be used in the following versions of Oracle/PLSQL:
Let's look at some Oracle LOG function examples and explore how to use the LOG function in Oracle/PLSQL.
For example: