﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2008 / SQL Server 2008 - General  / Trigger issue / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Thu, 23 May 2013 16:04:35 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Trigger issue</title><link>http://www.sqlservercentral.com/Forums/Topic1419764-391-1.aspx</link><description>uggh; looks like you are doing something in a trigger(inserting/updating into another server?) that should be done in  a service broker, or a schedule job  that would do the same step periodically, or maybe via a stored procedure that is prepared to handle errors on the event.the error in the trigger would have caused the trigger to rollback with the error, i think, so the data that was supposed to be inserted is gone.some things should not be done in a trigger.</description><pubDate>Thu, 14 Feb 2013 06:30:50 GMT</pubDate><dc:creator>Lowell</dc:creator></item><item><title>RE: Trigger issue</title><link>http://www.sqlservercentral.com/Forums/Topic1419764-391-1.aspx</link><description>That's not much to go on.  Do you have any details of it?  DDL? Insert statement?</description><pubDate>Thu, 14 Feb 2013 05:46:13 GMT</pubDate><dc:creator>Ed Wagner</dc:creator></item><item><title>Trigger issue</title><link>http://www.sqlservercentral.com/Forums/Topic1419764-391-1.aspx</link><description>I have trigger on a table and it failed when i insert on a table with below errro message and its SQL Server 2005 version.Msg 8525, Level 16, State 1, Line 1Distributed transaction completed. Either enlist this session in a new transaction or the NULL transaction.Thanks</description><pubDate>Wed, 13 Feb 2013 15:54:24 GMT</pubDate><dc:creator>Admingod</dc:creator></item></channel></rss>