Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabling indexes for testing purposes
Message
From
19/03/2014 10:05:10
 
 
To
19/03/2014 09:49:51
General information
Forum:
Microsoft SQL Server
Category:
Indexing
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01596856
Message ID:
01596863
Views:
44
This message has been marked as a message which has helped to the initial question of the thread.
>This works. However, it will just keep bouncing back on other indexes until I disable them all. Is there a way to disable all the indexes on a table?

I'm not aware of any one single command. Only way I know is to iterate through a list of indexes and disable using dynamic sql.

The code sample about halfway down the page on this link has an example. I wish I knew of a better way with a simple command, but I don't know of one.

http://stackoverflow.com/questions/2518125/disable-all-non-clustered-indexes
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform