SQL Server 2005 - Syncronising Tables

Posted on 2009-12-18
Last Modified: 2012-05-08

I have two machines running SQL server 2005. One (lets call this machine A) has many databases and contains data which is requied by the other machine (machine B). On a nightly basis i want to update a table in a database stored on machine B. The table will be updated from 2 different tables (in different tables) from machine A. The two tables in A also contain different fields from one another....some of these fields also need to be sync'd with the table on machine B (these are nullable when getting synd with a table not containing these fields then it would have a null).

What is the best way to get this synconisation to work?

Question by:fred2k3
    1 Comment
    LVL 8

    Accepted Solution

    Dear fred2k3,

    the best to do is through replication

    Replication is a set of technologies for copying and distributing data and database objects from one database to another and then synchronizing between databases to maintain consistency.

    The below link are tutorial which will guide you on bases on how to do this

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    Round up Or down 17 36
    SQl server restarts itself 6 26
    Get row count of current SQL query 8 29
    SQL Agent Timeout 5 27
    I've encountered valid database schemas that do not have a primary key.  For example, I use LogParser from Microsoft to push IIS logs into a SQL database table for processing and analysis.  However, occasionally due to user error or a scheduled task…
    Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now