Solved

How to mirror tables between 2 mssql 2005 databases on 2 diffrent servers?

Posted on 2009-04-06
8
519 Views
Last Modified: 2012-05-06
How do i mirror a few tables in one database to another database on another server? Is it possible or do i have to do some kind of sync between them?
0
Comment
Question by:gobbalobba
  • 3
  • 2
8 Comments
 
LVL 31

Expert Comment

by:RiteshShah
ID: 24075664
Do you want mirroring for tables? not for complete database? if that is the case than you should go for replication.
0
 

Author Comment

by:gobbalobba
ID: 24075672
yes between tables. How do i set up replication?
0
 
LVL 31

Accepted Solution

by:
RiteshShah earned 500 total points
ID: 24075681
mirroring will make mirror of full database, if you need table based solution than I would suggest replication. If you like to see more about creating replication than do have a look at below URLs

http://www.exforsys.com/tutorials/sql-server-2005/sql-server-configuring-replication.html

http://www.informit.com/articles/article.aspx?p=601350

http://www.mssqltips.com/tip.asp?tip=1451
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:gobbalobba
ID: 24075726
nice!
Ill follollow the guides and probobly will get it goin. One question thou, is it sharing thrtough a smb share so that i need to open in the fw between them for smb? or is it purely sql port that is needed?
0
 
LVL 31

Expert Comment

by:RiteshShah
ID: 24075739
SQL port will do.
0
 
LVL 57

Expert Comment

by:Raja Jegan R
ID: 24076028
If you want to keep two tables in two different databases to be in sync, then the simplest way is to have triggers for INSERT, UPDATE and DELETE statements in the Main Server to have it reflected in the Destination Server.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

685 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