﻿<?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 / Article Discussions by Author / Discuss content posted by wfvdijk  / disable/enable indexes for table / 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>Tue, 21 May 2013 15:56:54 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: disable/enable indexes for table</title><link>http://www.sqlservercentral.com/Forums/Topic552523-1009-1.aspx</link><description>Perhaps a correlary script to disable contraints and triggers when copying large amounts of data from one database to another is[code]sp_msforeachtable "ALTER TABLE ? NOCHECK CONSTRAINT all"gosp_msforeachtable "ALTER TABLE ? DISABLE TRIGGER all"gosp_msforeachtable "ALTER TABLE ? WITH CHECK CHECK CONSTRAINT all"gosp_msforeachtable "ALTER TABLE ? ENABLE TRIGGER all"go[/code]Steve</description><pubDate>Thu, 16 Oct 2008 07:25:25 GMT</pubDate><dc:creator>steve block</dc:creator></item><item><title>disable/enable indexes for table</title><link>http://www.sqlservercentral.com/Forums/Topic552523-1009-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/scripts/mssql+2005/64018/"&gt;disable/enable indexes for table&lt;/A&gt;[/B]</description><pubDate>Thu, 14 Aug 2008 03:59:22 GMT</pubDate><dc:creator>Wilfred van Dijk</dc:creator></item></channel></rss>