Quantcast
Channel: SELECT Hints, Tips, Tricks FROM Hugo Kornelis WHERE RDBMS = 'SQL Server' : udf
Browsing all 7 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

T-SQL User-Defined Functions: the good, the bad, and the ugly (part 1)

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...

View Article



Image may be NSFW.
Clik here to view.

T-SQL User-Defined Functions: the good, the bad, and the ugly (part 2)

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...

View Article

Image may be NSFW.
Clik here to view.

T-SQL User-Defined Functions: the good, the bad, and the ugly (part 3)

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...

View Article

Image may be NSFW.
Clik here to view.

T-SQL User-Defined Functions: the good, the bad, and the ugly (part 4)

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...

View Article

Image may be NSFW.
Clik here to view.

SQLRally Nordic 2012 – session material

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...

View Article


Image may be NSFW.
Clik here to view.

Decks and demos – Session material for Silicon Valley Code Camp

This weekend, I will be presenting two sessions at Silicon Valley Code Camp , in Los Altos Hills, CA. On Saturday, I will have an early start – the first time slot of the day, at 9:45 AM, I will...

View Article

Image may be NSFW.
Clik here to view.

SQLRally and SQLRally - Session material

I had a great week last week. First at SQLRally Nordic , in Stockholm, where I presented a session on how improvements to the OVER clause can help you simplify queries in SQL Server 2012 enormously....

View Article
Browsing all 7 articles
Browse latest View live




Latest Images