Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2003
    Location
    Israel
    Posts
    41

    Unanswered: Export to/from XML

    I have Database with the following structure: Regions -> Countries -> Customers -> Fabs -> Products. All relationships are one to many.
    I need to build query that returns all data of any Region as XML.

    What is the best way to do opposite action (Export from XML to DB) ?

  2. #2
    Join Date
    Nov 2004
    Location
    on the wrong server
    Posts
    8,835
    Provided Answers: 6
    I just played with this over the weekend for the first time. Please take a look at "XML and Internet Support Overview" in SQL Server Books Online.

    Once you configure this properly with IIS you can return auto generated XML from querying SQL Server.

    What little I did, it was pretty cool.
    “If one brings so much courage to this world the world has to kill them or break them, so of course it kills them. The world breaks every one and afterward many are strong at the broken places. But those that will not break it kills. It kills the very good and the very gentle and the very brave impartially. If you are none of these you can be sure it will kill you too but there will be no special hurry.” Earnest Hemingway, A Farewell To Arms.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •