FOR XML support for various SQL Server data types

Applies to: SQL Server Azure SQL Database Azure SQL Managed Instance

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

In this section

Article 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.