FOR XML Performance

  • Hi,

    I need to know the performance downsides of using For XML clause. Does SQL Server prepare an XML representation of data every time a query is executed ?? Is there any way of tuning the performance ??

    Also, which one is the most fastest  ??

    1. For XML Auto

    2. For XML Raw

    3. For XML Explicit

    Thanks in advance.

    Regards,

    Hatim Ali.

  • Check out this link - http://www.sql-server-performance.com/xml.asp

    This web site is by far the best for giving out best practice advice over a wide range of subjects.


    ------------------------------
    The Users are always right - when I'm not wrong!

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply