LOG (SQL Server Compact)
Devuelve el logaritmo natural de la expresión float dada.
Sintaxis
LOG (float_expression )
Argumentos
- float_expression
Expresión del tipo float o de tipos que se puedan convertir implícitamente al tipo float.
Valor devuelto
float
Ejemplo
El ejemplo siguiente devuelve el logaritmo de diversos valores float.
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;