SQL Server/T-SQL/Transact SQL/LOG — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Текущая версия на 10:20, 26 мая 2010
LOG is the inverse of EXP, and this can be demonstrated by
1> -- LOG is the inverse of EXP, and this can be demonstrated by:
2>
3> SELECT LOG(EXP(2))
4>
5> GO
------------------------
2
(1 rows affected)
1>
Log: Takes one positive valued parameter, and returns the natural logarithm of this parameter as a float value
1> -- LOG
2>
3> -- Takes one positive valued parameter, and returns the natural logarithm of this parameter as a float value.
4>
5> SELECT LOG(5.67)
6> GO
------------------------
1.7351891177396608
(1 rows affected)
1>