Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabling indexes for testing purposes
Message
From
19/03/2014 10:07:27
 
 
General information
Forum:
Microsoft SQL Server
Category:
Indexing
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01596856
Message ID:
01596864
Views:
39
>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

This is very good.

Thanks
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform