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. MERGING TWO DATABASES WITH WEBSERVICES

MERGING TWO DATABASES WITH WEBSERVICES

Scheduled Pinned Locked Moved C#
sysadmindatabasetutorialquestion
6 Posts 4 Posters 0 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.
  • I Offline
    I Offline
    It_tech
    wrote on last edited by
    #1

    Hi all, Can any one advice me on how to implement webservices in Copying one database tables in to the another one?The source and destination databases have the same table structures but different data.The also run within the same network on diffrent server. Any ideas will be much appreciated. Many thanks

    C T C 3 Replies Last reply
    0
    • I It_tech

      Hi all, Can any one advice me on how to implement webservices in Copying one database tables in to the another one?The source and destination databases have the same table structures but different data.The also run within the same network on diffrent server. Any ideas will be much appreciated. Many thanks

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

      Just pass the data in through a webservice method and copy it into the DB.

      Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

      I 1 Reply Last reply
      0
      • C Christian Graus

        Just pass the data in through a webservice method and copy it into the DB.

        Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

        I Offline
        I Offline
        It_tech
        wrote on last edited by
        #3

        Thank you Chris much appreciated. I have identity columns that are Unique for each table will that not be a problem in kepping the relationships that exist between tables on the destanation database. How can i copy keeping the identity keys in order between various tables. Many thanks

        1 Reply Last reply
        0
        • I It_tech

          Hi all, Can any one advice me on how to implement webservices in Copying one database tables in to the another one?The source and destination databases have the same table structures but different data.The also run within the same network on diffrent server. Any ideas will be much appreciated. Many thanks

          T Offline
          T Offline
          The Man from U N C L E
          wrote on last edited by
          #4

          It would run faster if you just make the webservice initiate the copy, and perform the actual data transfer within a stored procedure using linked servers.

          If you have knowledge, let others light their candles at it. Margaret Fuller (1810 - 1850) www.JacksonSoft.co.uk

          I 1 Reply Last reply
          0
          • T The Man from U N C L E

            It would run faster if you just make the webservice initiate the copy, and perform the actual data transfer within a stored procedure using linked servers.

            If you have knowledge, let others light their candles at it. Margaret Fuller (1810 - 1850) www.JacksonSoft.co.uk

            I Offline
            I Offline
            It_tech
            wrote on last edited by
            #5

            Sorry Chris ,IT sounds a great idea , Can you please elaborate that with an example? Thanks so much.

            1 Reply Last reply
            0
            • I It_tech

              Hi all, Can any one advice me on how to implement webservices in Copying one database tables in to the another one?The source and destination databases have the same table structures but different data.The also run within the same network on diffrent server. Any ideas will be much appreciated. Many thanks

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

              Hello m8 i have done this as a part of my program last year in school... My Solution is to First convert all the data from the first database into XML then You can either transfer the XML file to the other Web Service, Parse the XML create the schema and insert the data in the other database. ;) You have the option to also maybe encrypt the XML for security purposes. And what i think that is one of the advantages for this solutions is that XML is a standard that is read by many objects so this will make transfer easier. Hope this helps :) reply if this help you and take care

              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