Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

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

Posted on 2009-04-06
8
Medium Priority
?
533 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
6 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 2000 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
Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

 

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

Get quick recovery of individual SharePoint items

Free tool – Veeam Explorer for Microsoft SharePoint, enables fast, easy restores of SharePoint sites, documents, libraries and lists — all with no agents to manage and no additional licenses to buy.

Question has a verified solution.

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

An alternative to the "For XML" way of pivoting and concatenating result sets into strings, and an easy introduction to "common table expressions" (CTEs). Being someone who is always looking for alternatives to "work your data", I came across this …
Exchange database can often fail to mount thereby halting the work of all users connected to it. Finding out why database isn’t mounting is crucial and getting the server back online. Stellar Phoenix Mailbox Exchange Recovery is a champion product t…
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Suggested Courses

581 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