XML Data in SQL Server

SQL Server exposes the functionality of SQLXML inside the .NET Framework. Developers can write applications that access XML data from an instance of SQL Server, bring the data into the .NET Framework environment, process the data, and send the updates back to SQL Server. XML data can be used in several ways in SQL Server, including data storage, and as parameter values for retrieving data. The SqlXml class in the .NET Framework provides the client-side support for working with data stored in an XML column within SQL Server. For more information, see SQLXML Managed Classes.

In This Section

SQL XML Column Values
Demonstrates how to retrieve and work with XML data retrieved from SQL Server.

Specifying XML Values as Parameters
Demonstrates how to pass XML data as a parameter to a command.

See also