Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Merge data from xml to sql server

Merge data from xml to sql server

Scheduled Pinned Locked Moved C#
databasexmlsql-serversysadminquestion
4 Posts 3 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    cdpace
    wrote on last edited by
    #1

    Hello. In my project i have parsed my database into xml files. I done this by using typed dataset's writexml feature. After doing this and transfering these files to a remote machine that has the same database schema i need to merge that data from the xml to the machine's database. In every row of every table there is a filed called last changed which i want to use to determin if the row is more current than the one on the machine's database. How can the merging from the xml to the sql server be done? any ideas guys

    C A 2 Replies Last reply
    0
    • C cdpace

      Hello. In my project i have parsed my database into xml files. I done this by using typed dataset's writexml feature. After doing this and transfering these files to a remote machine that has the same database schema i need to merge that data from the xml to the machine's database. In every row of every table there is a filed called last changed which i want to use to determin if the row is more current than the one on the machine's database. How can the merging from the xml to the sql server be done? any ideas guys

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Code. That's about it, really. Read the XML, write code to do the inserts.

      Christian Graus Driven to the arms of OSX by Vista.

      1 Reply Last reply
      0
      • C cdpace

        Hello. In my project i have parsed my database into xml files. I done this by using typed dataset's writexml feature. After doing this and transfering these files to a remote machine that has the same database schema i need to merge that data from the xml to the machine's database. In every row of every table there is a filed called last changed which i want to use to determin if the row is more current than the one on the machine's database. How can the merging from the xml to the sql server be done? any ideas guys

        A Offline
        A Offline
        akidan
        wrote on last edited by
        #3

        If this is a full-blown SQL Server box, you probably want to look at using SSIS to do this.

        C 1 Reply Last reply
        0
        • A akidan

          If this is a full-blown SQL Server box, you probably want to look at using SSIS to do this.

          C Offline
          C Offline
          cdpace
          wrote on last edited by
          #4

          Any tutorials? please thank you

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups