views:

145

answers:

2

From what I've read an XML column in SQL server can be typed (having a schema) or untyped. What are the advantages of using typed XML?

Is it just that the XML is validated?

+1  A: 

First is validation.

Second you can formulate XML queries based on the XSD and know that the XML content is compatible with your queries.

devio
A: 

It also helps with errors and debugging - see Silent XQuery Failures

tpower