Setup example XML element:
declare @myXML xml
SET myXML = '
'
Query example XML element:
Select @myXML.query('
Expected results
Reusing myXML, we could use sp_xml_preparedocument and OPENXML
DECLARE @docHandle int
EXEC sp_xml_preparedocument @docHandle, @myXML
No comments:
Post a Comment