Tag Archives: Execution plans

Subqueries for XML blobs without self-referencing

One of the issues I see several times within SQL Server is people creating SQL Subqueries that reference the parent query so that an XML blob can be created. In this example The simple table query returns the table contents … Continue reading →

Posted in Uncategorized | Tagged , , , | Leave a comment

XML .value simple syntax

There are several ways to get .value to extract an item of information from xml.  in the following article I will show some of the syntax and reasons why some methods are better than others. All the calls in this … Continue reading →

Posted in SQL, XML | Tagged , , , , | Leave a comment

Reducing size of a nonclustered index with Filtering

SQL Server 2008 has a very nice new feature that enables a partial index to be created based on a specific where clause. I have recently used this as an solution checking a table that contained an isSent flag. by creating a … Continue reading →

Posted in database performance, filtered indexes, non-clustered Indexes, SQL, Uncategorized | Tagged , , , | Leave a comment