|
|
|
|
Browse by Tags
All Tags » T-SQL » UDF (RSS)
-
As some of you might know, I have been to SQLRally Nordic 2012 in Copenhagen earlier this week. I was able to attend many interesting sessions, I had a great time catching up with old friends and meeting new people, and I was allowed to present a session myself.
I understand that the PowerPoint slides and demo code I used in my session will be ...
-
Scalar user-defined functions are bad for performance. I already showed that for T-SQL scalar user-defined functions without and with data access, and for most CLR scalar user-defined functions without data access, and in this blog post I will show that CLR scalar user-defined functions with data access fit into that picture. First ...
-
I showed why T-SQL scalar user-defined functions are bad for performance in two previous posts. In this post, I will show that CLR scalar user-defined functions are bad as well (though not always quite as bad as T-SQL scalar user-defined functions).
I will admit that I had not really planned to cover CLR in this series. But shortly after ...
-
In a previous blog post, I demonstrated just how much you can hurt your performance by encapsulating expressions and computations in a user-defined function (UDF). I focused on scalar functions that didn’t include any data access. In this post, I will complete the discussion on scalar UDFs by covering the effect of data access in a scalar UDF. ...
-
So you thought that encapsulating code in user-defined functions for easy reuse is a good idea? Think again!
SQL Server supports three types of user-defined functions. Only one of them qualifies as good. The other two – well, the title says it all, doesn’t it?
The bad: scalar functions
A scalar user-defined function (UDF) is very much like a ...
|
|
|
|
|