bugl
bugl
HomeLearnPatternsPathsSearchPremium
HomeLearnPatternsPaths

Loading lesson path

Learn/SQL/SQL References
SQL•SQL References

SQL Server EXP() Function

Example

SELECT EXP(1);

Definition and Usage

The EXP() function returns e raised to the power of a specified number.

The constant e (2.718281...), is the base of natural logarithms.

Note

See also the LOG() function.

Syntax

EXP(
number
)

Parameter Values

ParameterDescription
numberRequired. The power number

Technical Details

Works in:SQL Server (starting with 2008), Azure SQL Database, Azure SQL Data Warehouse, Parallel Data Warehouse

Previous

SQL Server DEGREES() Function

Next

SQL Server FLOOR() Function