Oracle Built in Functions:LOG function
In Oracle PL/SQL LOG function returns the logarithm, base m, of n. The base m can be any positive number other than 0 or 1 and n can be any positive number.
Syntax
LOG(m, n)
Example
SELECT LOG(10,100) “Log base 10 of 100″ FROM DUAL;
Log base 10 of 100
——————
2