Home Forums SQL Server 2005 T-SQL (SS2K5) Change XML output hierarchy in a SELECT...FOR XML clause RE: Change XML output hierarchy in a SELECT...FOR XML clause

  • Hi Valle,

    you might want to read the following article http://www.sqlservercentral.com/articles/SS2K5+-+XML/2982/.

    If you have further questions please provide sample data as described in the link in my signature. Please use [ code="xml" ] tag (with removed spaces) for xml sample data.



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]