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

No comments

There are still no comments on this article.

Leave your comment...

If you want to leave your comment on this article, simply fill out the next form:




CAPTCHA Image CAPTCHA Audio
Refresh Image

You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> .