Robert Sheldon 27 May 2009 Robert Sheldon 27 May 2009 Using the FOR XML Clause to Return Query Results as XML 0 815 Learn SQL Server The FOR XML clause in SQL Server causes a lot of difficulty, mainly because it is rather poorly explained in Books-on-Line. We challenged Bob Sheldon to make it seem simple. Here is his sublime response. … Read more