Mega Code Archive

 
Categories / MSSQL Tutorial / Math Functions
 

LOG Takes one positive valued parameter, and returns the natural logarithm of this parameter as a float value

4>  SELECT LOG(5.67) 5> SELECT LOG(EXP(2)) 6> GO ------------------------       1.7351891177396608 (1 rows affected) ------------------------                        2 (1 rows affected)