FOR XML Support for Various SQL Server Data Types

THIS TOPIC APPLIES TO:yesSQL Server (starting with 2008)noAzure SQL DatabasenoAzure SQL Data Warehouse noParallel Data Warehouse

The topics in this section describe FOR XML support for data types in SQL Server.

In This Section

Topic Description
FOR XML Support for the xml Data Type Describes how FOR XML works with the xml data type.
FOR XML Support for String Data Types Describes how FOR XML works with string data types such as varchar and nvarchar.
FOR XML Support for the User-Defined Data Types (UDT) Describes how FOR XML works with user-defined data types.
FOR XML Support for the timestamp Data Type Describes how FOR XML works with the timestamp data type.