SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 data sync in two databases
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

aditi11
Starting Member

India
3 Posts

Posted - 06/16/2013 :  11:14:30  Show Profile  Reply with Quote
hi,
i am newbie in sql development . i have two databases A and B. i would like to write a trigger or a query by which i can update or synchronize the data in both the databases
for eg, if there is an update happening in a table of database A then database B should also get updated. i want it to happen for selected tables only.or lets say trigger of database A updating the table of database B. please help.

ahmeds08
Aged Yak Warrior

India
534 Posts

Posted - 06/16/2013 :  12:31:49  Show Profile  Send ahmeds08 a Yahoo! Message  Reply with Quote
Replication

mohammad.javeed.ahmed@gmail.com
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52249 Posts

Posted - 06/16/2013 :  14:20:52  Show Profile  Reply with Quote
there are different type of replication. Based on your need you may use transaction,snapshot or merge replication

see
http://technet.microsoft.com/en-us/library/ms152531.aspx

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000