I am new to XML using SQL Server 2008 R2, I have a xml data column named EventData the xml is structured like this...
<eventData>
<Name> Mr Blog</Name>
<Description> Hello World />
<Date>10/06/2013</Date>
</eventData>
What I require is each child element of eventData to be in a table stored like this
Key Value
Name Mr Blog
Description Hello World
Date 10/06/2013
I read this previous question but does not solve my issue as my child elements are dynamic and they will not be the same each time.
Any ideas as to how I can structure my query to achieve this?