Expand All
Collapse the table of content
Expand the table of content
Expand Minimize
The document is archived and information here might be outdated

LOG (SQL Server Compact Edition)

Returns the natural logarithm of the given float expression.

LOG ( float_expression )


An expression of the type float, or of types that can be implicitly converted to float.

The following example returns the logarithm of various float values.

CREATE TABLE Logarithms ("LOG 2" float, "LOG 20" float, "LOG 200" float)
INSERT INTO Logarithms VALUES (LOG(2), LOG(20), LOG(200))
SELECT * FROM Logarithms
© 2016 Microsoft