Introducing Scalar UDF Inlining in SQL Server
blogs.msdn.microsoft.com