December 9th, 2008

EXP (power of e)

The EXP function returns the value of the natural logarithm to the base e. The mathematical constant e is approximately 2.718281828… raised to the power of the specified value.
Format:                        EXP(expression)

Example:           SELECT EXP(1) FROM TABLEA;

Result:

                   

> Access, DB2, MySQL, PostgreSQL, SQL Server, and Sybase support the EXP function.

> Use the LN function to reverse the process.

Comments are closed.

Sorry, the comment form is closed at this time.