posted 6/19/2012 by ChrisAlbrektson - Views: [2008]
In this fifth and final blog post we will not be covering any new functions. Instead we will be covering an existing function which has been revised in SQL 2012. This is the last topic of this miniseries of blog posts covering the new TSQL function in SQL server 2012.
The function we will be looking at today is the Log function.
The end result of this expression is to return the natural logarithm of the specified float expression.
Syntax, LOG ( float_expression [, base ] )
Examples:
SELECT CONVERT(varchar, LOG(12));
For more info on this function please visit the MSDN links below. This has been a simple example just too re-introduce this altered function to you. I encourage you to experiment with this function and the others we have covered over the last several blog posts.
Log Function