﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Article Discussions / Discuss content posted by vinaykumar / Article Discussions by Author  / Enable Disable All Triggers in a Database / 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>Fri, 24 May 2013 03:47:00 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Enable Disable All Triggers in a Database</title><link>http://www.sqlservercentral.com/Forums/Topic449718-576-1.aspx</link><description>Refer Here:[url=http://jjeyakumar.blogspot.com/2011/01/useful-ms-sql-statement-for-triggers.html][/url]</description><pubDate>Tue, 18 Jan 2011 09:46:33 GMT</pubDate><dc:creator>j.jeyakumar</dc:creator></item><item><title>RE: Enable Disable All Triggers in a Database</title><link>http://www.sqlservercentral.com/Forums/Topic449718-576-1.aspx</link><description>I have updated the initial query so that it will indicate the enabled/disabled triggers in a SQL Server 2005 database.[quote] SELECT T.[name] as TableName,            TR.[Name] as TriggerName,           CASE WHEN 1=OBJECTPROPERTY(TR.[object_id], 'ExecIsTriggerDisabled')            THEN 'Disabled'             ELSE 'Enabled'        END StatusFROM   sys.objects T INNER JOIN sys.triggers TR   ON T.[object_id] = TR.parent_id WHERE (T.type = 'U' or T.type = 'V')ORDER BY T.[name], TR.[name];[/quote]</description><pubDate>Fri, 21 Mar 2008 07:56:09 GMT</pubDate><dc:creator>Ralph D. Wilson II</dc:creator></item><item><title>RE: Enable Disable All Triggers in a Database</title><link>http://www.sqlservercentral.com/Forums/Topic449718-576-1.aspx</link><description>Hi I have this command that is more simple EXECUTE sp_msforeachtable "ALTER TABLE ?  disable trigger ALL"Adrian</description><pubDate>Thu, 20 Mar 2008 06:57:07 GMT</pubDate><dc:creator>Adrian Aleksandrowicz-276567</dc:creator></item><item><title>Enable Disable All Triggers in a Database</title><link>http://www.sqlservercentral.com/Forums/Topic449718-576-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/scripts/T-SQL/62092/"&gt;Enable Disable All Triggers in a Database&lt;/A&gt;[/B]</description><pubDate>Wed, 30 Jan 2008 15:20:12 GMT</pubDate><dc:creator>Danny Ocean</dc:creator></item></channel></rss>