Quantcast
Channel: Bart Duncan's SQL Blog » T-SQL
Browsing all 3 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Living with SQL’s 900 Byte Index Key Length Limit

 (Cross-posted to my MSDN blog here.) We recently had a situation where we needed to interface with an external non-relational data source that happened to use really long strings to identify entity...

View Article



Image may be NSFW.
Clik here to view.

Don’t depend on expression short circuiting in T-SQL (not even with CASE)

There are a fair number of blog posts and forum discussions regarding expression short circuiting in T-SQL. Some of the most authoritative posts, like this one, come to the following conclusions: (a)...

View Article

Image may be NSFW.
Clik here to view.

Row Goals Gone Rogue

This post discusses “row goals“, but with a twist. The point is to illustrate how row goals can cause unnecessarily slow queries. First, run this script: USE tempdb GO IF OBJECT_ID ('even') IS NOT NULL...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images