Stairway to XML: Level 3 - Working with Typed XML
Posted
on SQL Server Central
See other posts from SQL Server Central
Published on Mon, 01 Oct 2012 06:00:00 UT
Indexed on
2012/10/02
9:45 UTC
Read the original article
Hit count: 380
You can enforce the validation of an XML data type, variable or column by associating it with an XML Schema Collection. SQL Server validates a typed XML value against the rules defined in the schema collection so that INSERT or UPDATE operations will succeed only if the value being inserted or updated is valid as per the rules defined in the Schema Collection.
NEW! Deployment Manager Early Access Release Deploy SQL Server changes and .NET applications fast, frequently, and without fuss, using Deployment Manager, the new tool from Red Gate. Try the Early Access Release to get a 20% discount on Version 1. Download the Early Access Release. |
© SQL Server Central or respective owner