Viewing 3 posts - 1 through 3 (of 3 total)
OK - Answer.
Create an XML Schema Collection using:
CREATE XML SCHEMA COLLECTION dbo.MyXMLSchema
AS
N'<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="rows">
<xs:complexType>
...
May 22, 2014 at 4:44 pm
Eirikur, thanks for the suggestion on the ( OPTIMIZE FOR ( @xmlstring = NULL ) ) .
While it didn't solve the problem, it led me to a post with...
May 22, 2014 at 10:19 am
Thanks for the reply. Unfortunately, the OPTION ( OPTIMIZE FOR ( @xmlstring= NULL ) ) didn't help.
We're on SQL 2008 R2 SP2.
Bob
May 22, 2014 at 8:26 am
Viewing 3 posts - 1 through 3 (of 3 total)