bugl
bugl
HomeLearnPatternsPathsSearchPremium
HomeLearnPatternsPaths

Loading lesson path

Learn/SQL/SQL References
SQL•SQL References

SQL Server LOG10() Function

Example

SELECT LOG10(2);

Definition and Usage

The LOG10() function returns the natural logarithm of a number to base 10.

Note

Also look at the LOG() function.

Syntax

LOG10(
number
)

Parameter Values

ParameterDescription
numberRequired. A number greater than 0

Technical Details

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

Previous

SQL Server LOG() Function

Next

SQL Server MAX() Function