<p>Is it possible to create a trigger that will not be in a transaction? </p>

<p>I want to update data on a linked server with a trigger but due to firewall issues we can't create a distributed transaction between the two servers.</p>

[{'answer_id': 19755, 'author': 'DrPizza', 'author_id': 2131, 'author_profile': 'https://Stackoverflow.com/users/2131', 'pm_score': 2, 'selected': False, 'text': "<p>I know it's not helpful, so I'll probably get downvoted for this, but really, the solution is to fix the firewall problem.</p>\n\n<p>I think if you use remote (not linked) servers (which are not the preferred option these days) then you can use SET REMOTE_PROC_TRANSACTIONS OFF to prevent the use of DTC for remote transactions, which might do the right thing here.  But that probably doesn't help you with a linked server anyway.</p>\n"}, {'answer_id': 30681, 'author': 'Curt Hagenlocher', 'author_id': 533, 'author_profile': 'https://Stackoverflow.com/users/533', 'pm_score': 3, 'selected': True, 'text': '<p>What you probably want is a combination of a queue that contains updates for the linked server and a process that reads data from the queue and updates the remote server.  The trigger will then insert a message into the queue as part of the normal transaction.  This data will be read by the separate process and used to update the remote server.  Logic will needed in the process handle errors (and possibly retries).</p>\n\n<p>The queue can be implemented with one or more tables.</p>\n'}]
['https://Stackoverflow.com/questions/19744', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1545/']