Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 updating the remote database using trigger
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

3 Posts

Posted - 06/23/2013 :  11:29:50  Show Profile  Reply with Quote
hi All,
i have two sql databases T1 and T2. i want to write a trigger using where any changes happening in T1 database will automatically update the t2 database. i have a schema DTA1 in T1 which has a table called empdetails. T2 database has the similar table structure. so any changes happening in empdetails(table)in T1 database should automatically update the empdetails table in T@ database.
T1- database1
DTA1- schema name
empdetails- table name

T2 - database2
DTA2- schema of T2
empdetails- table of T2

Please please help . i have tried writing many triggers but nothing worked perfectly. please suggest a solution.

In (Som, Ni, Yak)

17689 Posts

Posted - 06/23/2013 :  22:02:23  Show Profile  Reply with Quote
duplicate of

Time is always against us

Go to Top of Page
  Previous Topic Topic Next 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.02 seconds. Powered By: Snitz Forums 2000