Solved

Can triggers effect remote databases?

Posted on 2007-03-20
2
196 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Viewers will learn how the fundamental information of how to create a table.

738 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