Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have to write a trigger in sql server 2005
I have 5 machines with sql server installed on each machine . One of them is working as a server , if any operation is happening in server machine db then it should reflect in all machine .
In case of any network issue , it should work as a scheduler task in each hour .
Posted

1 solution

Your question can be solved using SQL Server Replication. A great place for you to start is here: http://msdn.microsoft.com/library/ms166367.aspx[^]
 
Share this answer
 
Comments
lalit.mca2006 19-May-13 23:01pm    
its ok, but i have to do it periodically. It should run automatically .
_Damian S_ 19-May-13 23:20pm    
Did you read the article? What you have described in your question is precisely what replication exists for.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900