XML data in SQL Server

Download ADO.NET

SQL Server exposes the functionality of SQLXML inside the .NET. Developers can write applications that access XML data from an instance of SQL Server, bring the data into the .NET 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 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 SQL Server Books Online.

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.

Next steps