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. Best Way to Sync SQL Srv Databases

Best Way to Sync SQL Srv Databases

Scheduled Pinned Locked Moved Database
databasehelpquestion
3 Posts 3 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.
  • P Offline
    P Offline
    Pago007
    wrote on last edited by
    #1

    Hi all, I would need to sync data between two databases with diferent structure. It happens that in one Database (A) i have just 2 or 3 tables (with lot of fields), and on the other database i should have the same data splitted on many other tables. To Sync this i will to create a lot of triggers that are fired on both database tables but some fields data type were also changed like: Where i have field data type NVarchar() on database A the same correspondent field on Database B is Int(). On database A the field can assume the values Yes/No/In Progress but on databse B the same field assumes the values 1/2/3. Are a lot of triggers to do! Wich should be the best way to do this? Wich is the best way to convert the data between tables? Is there some tool to help me doing this like Sybase ETL? Best Regards,

    D D 2 Replies Last reply
    0
    • P Pago007

      Hi all, I would need to sync data between two databases with diferent structure. It happens that in one Database (A) i have just 2 or 3 tables (with lot of fields), and on the other database i should have the same data splitted on many other tables. To Sync this i will to create a lot of triggers that are fired on both database tables but some fields data type were also changed like: Where i have field data type NVarchar() on database A the same correspondent field on Database B is Int(). On database A the field can assume the values Yes/No/In Progress but on databse B the same field assumes the values 1/2/3. Are a lot of triggers to do! Wich should be the best way to do this? Wich is the best way to convert the data between tables? Is there some tool to help me doing this like Sybase ETL? Best Regards,

      D Offline
      D Offline
      DoctorMick
      wrote on last edited by
      #2

      You could possibly use SSIS to achieve most of what you're after. How current do both databases need to be?

      1 Reply Last reply
      0
      • P Pago007

        Hi all, I would need to sync data between two databases with diferent structure. It happens that in one Database (A) i have just 2 or 3 tables (with lot of fields), and on the other database i should have the same data splitted on many other tables. To Sync this i will to create a lot of triggers that are fired on both database tables but some fields data type were also changed like: Where i have field data type NVarchar() on database A the same correspondent field on Database B is Int(). On database A the field can assume the values Yes/No/In Progress but on databse B the same field assumes the values 1/2/3. Are a lot of triggers to do! Wich should be the best way to do this? Wich is the best way to convert the data between tables? Is there some tool to help me doing this like Sybase ETL? Best Regards,

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

        You can try D-Softs Database Compare Tool

        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