| Oracle9i SQL Reference Release 2 (9.2) Part Number A96540-02  | 
  | 
  | 
View PDF | 
log::=
 LOG 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.
The following example returns the log of 100:
SELECT LOG(10,100) "Log base 10 of 100" FROM DUAL; Log base 10 of 100 ------------------ 2