sholliday (10/28/2010)
Mauve (10/28/2010)
I see references to OPENXML in the postings.Don't use OPENXML! Use XQuery. See the following SQL ServerCentral article:
True, but BE WEARY of element based xml depending on your Sql Server Version.
Note, there are more versions affected than the url suggests.
It's a defect. It will be, or has been, fixed.
I'm also on SQL Server 2008 R2 (x64).
We're successfully using the XML approach as a data transport mechanism between our .Net SaaS web application and the stored procedures in the database. Works quite well. The XML is a hybrid (Attribute & Element) but mostly Attribute centric.