Solved

Can triggers effect remote databases?

Posted on 2007-03-20
2
193 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

I have a large data set and a SSIS package. How can I load this file in multi threading?
When table data gets too large to manage or queries take too long to execute the solution is often to buy bigger hardware or assign more CPUs and memory resources to the machine to solve the problem. However, the best, cheapest and most effective so…
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

792 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