﻿<?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 / T-SQL (SS2K8)  / Nested Triggers / 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>Wed, 19 Jun 2013 19:06:41 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Nested Triggers</title><link>http://www.sqlservercentral.com/Forums/Topic1370774-392-1.aspx</link><description>Pedro,One place to look is the sp_depends procedure.  To use, just call it and give the object name.  This is an example for a trigger.  (You can look it up in BOL for specifics and other parameters to use.)EXEC sp_depends @objname = N'AdventureWorks.Production.iWorkOrder' ;You will have to call it for each object that shows up if you want to follow the trail.In SSMS, you can right click a table, SPROC, etc. and choose View Dependencies.  This gives a hierarchical view of the dependencies.Hope this gets you started.</description><pubDate>Thu, 11 Oct 2012 07:43:11 GMT</pubDate><dc:creator>vikingDBA</dc:creator></item><item><title>Nested Triggers</title><link>http://www.sqlservercentral.com/Forums/Topic1370774-392-1.aspx</link><description>Hi,Is there any easy way of determining nested triggers?!For example, if I update a table that has an update trigger and that triggers call and SP the does an insert on another table that has a trigger, is there a way of getting this dependencies?!Thanks,Pedro</description><pubDate>Wed, 10 Oct 2012 03:02:14 GMT</pubDate><dc:creator>PiMané</dc:creator></item></channel></rss>