Enable and disable all indexes in a database — Carra Lucia Ltd


Disabling indexes is a good idea when it comes to loading large quantities of data, but… the big problem is clustered indexes. If you disable a clustered index, you’ve disabled the entire table. Several options suggest themselves, and none of them are simple. 1) Loop through the system views (sys.indexes), extract the table and index […]

via Enable and disable all indexes in a database — Carra Lucia Ltd

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s