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. Database & SysAdmin
  3. Database
  4. Sync data Bi-Directional Automatically- Sql Server 2008

Sync data Bi-Directional Automatically- Sql Server 2008

Scheduled Pinned Locked Moved Database
databasesql-serversysadminhelptutorial
5 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.
  • D Offline
    D Offline
    dsrao
    wrote on last edited by
    #1

    I have table(Tbl_A) in Server1 whenever DML(Insert/Update/Delete) operation happens in Tbl_A it has to be automatically insert/Update/Delete into Table B,C(Tbl_B,Tbl_C) in different sever2. 'Whenever Table B,C Update/Delete/Insert record automatically record in Table A(Tbl_A). I tried trigger but it does not help work for me. Please advice me how to deal this scenario. Thanks Rao

    Thanks & Regards Rao

    K T J 3 Replies Last reply
    0
    • D dsrao

      I have table(Tbl_A) in Server1 whenever DML(Insert/Update/Delete) operation happens in Tbl_A it has to be automatically insert/Update/Delete into Table B,C(Tbl_B,Tbl_C) in different sever2. 'Whenever Table B,C Update/Delete/Insert record automatically record in Table A(Tbl_A). I tried trigger but it does not help work for me. Please advice me how to deal this scenario. Thanks Rao

      Thanks & Regards Rao

      K Offline
      K Offline
      kalaisw
      wrote on last edited by
      #2

      Hi, Try sync Framework Reference : http://msdn.microsoft.com/en-us/library/bb902853.aspx[^]

      D 1 Reply Last reply
      0
      • K kalaisw

        Hi, Try sync Framework Reference : http://msdn.microsoft.com/en-us/library/bb902853.aspx[^]

        D Offline
        D Offline
        dsrao
        wrote on last edited by
        #3

        Thanks.. It won't do automatically only sync occasionally / manually. I am looking for whenver DML operation happens.

        Thanks & Regards Rao

        1 Reply Last reply
        0
        • D dsrao

          I have table(Tbl_A) in Server1 whenever DML(Insert/Update/Delete) operation happens in Tbl_A it has to be automatically insert/Update/Delete into Table B,C(Tbl_B,Tbl_C) in different sever2. 'Whenever Table B,C Update/Delete/Insert record automatically record in Table A(Tbl_A). I tried trigger but it does not help work for me. Please advice me how to deal this scenario. Thanks Rao

          Thanks & Regards Rao

          T Offline
          T Offline
          TenmanS14
          wrote on last edited by
          #4

          Well, you could use the OUTPUT Clause instead of a trigger to capture the data to input to the other server, and send to the application that inserted the row to actually put it into the other server, never tried it but this might be worth a go if you wanna do it in pure T-SQL http://stackoverflow.com/questions/545364/tsql-command-to-connect-to-another-server-sql-server-2005[^]

          1 Reply Last reply
          0
          • D dsrao

            I have table(Tbl_A) in Server1 whenever DML(Insert/Update/Delete) operation happens in Tbl_A it has to be automatically insert/Update/Delete into Table B,C(Tbl_B,Tbl_C) in different sever2. 'Whenever Table B,C Update/Delete/Insert record automatically record in Table A(Tbl_A). I tried trigger but it does not help work for me. Please advice me how to deal this scenario. Thanks Rao

            Thanks & Regards Rao

            J Offline
            J Offline
            JosephvObrien
            wrote on last edited by
            #5

            I have no better idea about relevant of database but your problem will be solve at w3school site because of there is well explain about database...I also daily visit that site for getting new information about html...

            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