<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlblog.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Disallow results from triggers?</title><link>http://sqlblog.com/blogs/greg_low/archive/2009/02/05/disallow-results-from-triggers.aspx</link><description>At a meeting I was at a few months back, it was noted that in a future version of SQL Server, the intention was to disallow results being returned from triggers. That surprised me somewhat. My main concern with this was about my ability to debug triggers.</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>re: Disallow results from triggers?</title><link>http://sqlblog.com/blogs/greg_low/archive/2009/02/05/disallow-results-from-triggers.aspx#11733</link><pubDate>Thu, 05 Feb 2009 13:25:55 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:11733</guid><dc:creator>James Luetkehoelter</dc:creator><description>&lt;p&gt;I'm really opposed to this for one simple reason - it's playing to the lowest common denominator. My guess is the reason that this is being enforced is because they've had too many support calls or have had people complain with people writing triggers that are intended to return a result set to be used elsewhere. Personally I can't conceive of using a trigger that way, and I avoid them like the plague in the first place. But again MS is instead focus not on education but hard-coding into SQL what should be the &amp;quot;proper usage&amp;quot;. Which again makes SQL seem like anyone can use it (&amp;quot;It won't let you do the wrong thing!&amp;quot; - I can see the marketing now). Wake up - this is as complex a DBMS as Oracle is now - take the knowledge of the engine seriously.&lt;/p&gt;</description></item><item><title>re: Disallow results from triggers?</title><link>http://sqlblog.com/blogs/greg_low/archive/2009/02/05/disallow-results-from-triggers.aspx#11741</link><pubDate>Thu, 05 Feb 2009 16:40:10 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:11741</guid><dc:creator>Adam Machanic</dc:creator><description>&lt;p&gt;I used to use rowsets coming back from triggers quite often before the OUTPUT clause was added... I haven't had any reason to use it since then, but I am also not sure that there is no possible use case. &amp;nbsp;I'm curious as to the reason they want to disable this functionality. &amp;nbsp;Yes, it may be a bit confusing in some cases, but it's been around for quite some time and as far as I know hasn't caused anyone major issues; it actually seems like something not many people know about. &amp;nbsp;Seems a tiny issue to focus on when there are so many other important areas that could be addressed...&lt;/p&gt;</description></item><item><title>re: Disallow results from triggers?</title><link>http://sqlblog.com/blogs/greg_low/archive/2009/02/05/disallow-results-from-triggers.aspx#31963</link><pubDate>Sat, 25 Dec 2010 15:46:02 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:31963</guid><dc:creator>John Paul</dc:creator><description>&lt;p&gt;@Adam&lt;/p&gt;
&lt;p&gt;Yes I also agree with you. Microsoft has 1000 things to resolve other than disabling a feature that can be very helpfull sometimes.&lt;/p&gt;</description></item></channel></rss>