Returns the natural logarithm of the given float expression.
LOG(float_expression)
float
This example calculates the LOG for the given float expression.
DECLARE @var float
SET @var = 5.175643
SELECT 'The LOG of the variable is: ' + CONVERT(varchar,LOG(@var))
GO
Here is the result set:
The LOG of the variable is: 1.64396
(1 row(s) affected)