xml query

  • Hi All

    I am trying to create xml from table

    for that i used query

    select column1,column2,column3 from table1 FOR XML PATH('')

    This will give xml output

    1xxxABC

    My desired output should be like given below

    <[/b]column2>xxx

    ABC

    Suggest me how will i arrive to this output through SQL Query and XML commands

    awating reply asap

  • Duplicate post.

    Already answered in this thread .



    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]

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

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