troubleshooting Question

SQL Server 2008: Table trigger to insert in external database

Avatar of Xyleen
Xyleen asked on
DatabasesMicrosoft SQL Server 2005Microsoft SQL Server 2008
1 Comment1 Solution484 ViewsLast Modified:

I want to make a trigger on a table in my internal database (SQL Server 2008) that executes a stored procedure on an external database(SQL Server 2005) when a row is inserted with a certain value.

Database 1 - Table A
 > When a row is inserted AND the value of Field A is 1 then the trigger is fired
 > The trigger executes a stored procedure on an External database

How do i do this ?
 - How can i link the two servers ? Do i have to adapt security settings ?
 - How do i have to built the trigger ?

kind regrads
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 1 Comment.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros