Solved

How to update remote server tables value with the help of triggers??

Posted on 2011-02-23
2
163 Views
Last Modified: 2012-12-09
I have 2 servers , 1  internal server and 1 external .
All the updations and insertion done on internal server only , My need is to update
the external server with the help of Triggers only.

I can't go for Replication kind of things because that's were not included in the agreement.
Client doesn't allow us to that.

So i just decided to go for triggers , if anyone can give better idea Please help.
Otherwise please provide me some sample scripts which help me doing automatically update the client server.

Note: Client server is linked with our internal server via linked server option.
0
Comment
Question by:SinghAmandeep
2 Comments
 
LVL 11

Expert Comment

by:rajvja
ID: 34967994
Hi

Create a linked server. You can update external server table with linked server.
0
 
LVL 57

Accepted Solution

by:
Raja Jegan R earned 500 total points
ID: 34971127
>> Note: Client server is linked with our internal server via linked server option.

Since you have enabled Linked Server, next things to proceed were

1. Enable MSDTC in both SQL Server machines.

http://support.microsoft.com/default.aspx?scid=kb;en-us;817064

2. Update SQL Server to SP4 because few issues related to DTC were fixed in SP2

Now try creating trigger which can help..
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL query with cast 38 54
How do I subtract date and time within a same column in SQL 4 41
Please help with the below query - SQL Server 11 28
export sql results to csv 6 40
Introduction: When running hybrid database environments, you often need to query some data from a remote db of any type, while being connected to your MS SQL Server database. Problems start when you try to combine that with some "user input" pass…
In SQL Server, when rows are selected from a table, does it retrieve data in the order in which it is inserted?  Many believe this is the case. Let us try to examine for ourselves with an example. To get started, use the following script, wh…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

828 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