Solved

Can triggers effect remote databases?

Posted on 2007-03-20
2
194 Views
Last Modified: 2010-03-19
Is it possible to create a trigger on a MS/SQL database to update a remote MySQL database, or are triggers intended to make local changes only?
0
Comment
Question by:bemara57
2 Comments
 
LVL 9

Accepted Solution

by:
nito8300 earned 350 total points
ID: 18761621
you can try to do something like
Update MySQL.Database.Table
Set Field1 = 'Your Value'

You would have to add the server as a linked server.
0
 
LVL 42

Assisted Solution

by:dqmq
dqmq earned 150 total points
ID: 18761631
While I can't claim it's advisable, it's certainly possible for a trigger to update a database on a linked server. This should head you the right direction:

http://msdn.microsoft.com/msdnmag/issues/04/11/DataPoints/
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MySQL recovery 7 27
Syntax issue with my Where Clause SQL 2012 20 38
add stored proc on publlication 4 16
Get data from two MySQL tables 6 18
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

740 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