Does everybody get that? (XML or relational for “multi-table” XML documents)
This post is an example of the "bring your own problem" approach in the classroom, inspired by upcoming SQLskills Immersion Events in August. See previous posting for the reason behind the blog post...
View ArticleSaving the contents of a SQL Server XML column to a file
While preparing for my TechEd talk on filetables and full-text search, I came across this tidbit that I thought was interesting. With the advent of XML support in databases, specifically SQL Server's...
View ArticleGetting started with Selective XML Indexes in SQL Server
So, it was announced that SQL2012 SP1 CTP4 was released yesterday. You've likely already heard this (more than once, everyone seems to revel in repeating announcements from the team). And it contains...
View ArticleSelective XML Indexes in SQL Server – First Try…it works
OK, so let's try something. Load a bunch of documents. Although, actually this part works with an empty table. create selective xml index fooidx2 on foo(thexml) for ( pathname1 = 'foo/bar/baz2' ); Msg...
View ArticleSelective XML Index – Implementation Details
A while after I posted part 1, there was a twitter message from Aaron (@AaronBertrand), a well-known "smart person" in the SQL Server space, about using feature packs as "ship vehicles", especially...
View ArticleSelective XML Index – Secondary Selective XML Indices
I've only been talking so far about the "primary" Selective XML Index. But you can also create 0-n "secondary" Selective XML Indexes. The syntax looks a little bit like secondary "non-selective" XML...
View ArticleSelective XML Indexes – Learning the rules through error messages
Experimenting without docs is a good way to get lots of error messages along the way. I'm learning by attrition, and it seems like I'd be better off knowing the rules. It's not the best way to learn...
View ArticleSelective XML Index – Why is this compelling?
OK. VM with the SP1 CTP is shut down. Fun's over (until I think of something new and cool or you think of something and tell me about it). Time to answer Aaron's implied question about "what makes...
View ArticleChoosing Paths for Selective XML Index – Part 1
About a month ago, I wrote a series of blog entries on the Selective XML Index introduced in SQL Server 2008 SP1. Just to summarize before I start up again, the Selective XML Index (I’ve abbreviate as...
View ArticleChoosing Paths for Selective XML Index – Part 2 – Using the SXI XEvents
In part 1 of this series, we tried a simple example from the Books Online without any SXI index at all, and an SXI with all the paths covered. No XEvents were emitted in either case. Now let’s change...
View Article
More Pages to Explore .....