Stats

338 Contributors: 4 Wednesday, July 27, 2016
Licensed under: CC-BY-SA
Not affiliated with Stack Overflow
Rip Tutorial: riptutorial@gmail.com
Roadmap: roadmap

FOR XML PATH

Remarks

There are also several other FOR XML modes:

  • FOR XML RAW - Creates one <row> element per row.
  • FOR XML AUTO - Attempts to heuristically autogenerate a hierarchy.
  • FOR XML EXPLICIT - Provides more control over the shape of the XML, but is more cumbersome than FOR XML PATH.

Related Examples