Adrian Hills 6/14/2010

SQL Server XML datatype with CDATA

Read Original

The article details a discovery about SQL Server's XML datatype: it does not preserve CDATA sections within XML data. When CDATA is inserted, SQL Server silently converts it to escaped character entities (e.g., < >). The author references a Microsoft Connect case and expresses a preference for the datatype to accept and preserve CDATA as long as the XML is well-formed.

SQL Server XML datatype with CDATA

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week