Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabling indexes for testing purposes
Message
De
19/03/2014 10:05:10
 
 
À
19/03/2014 09:49:51
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Indexation
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Web
Divers
Thread ID:
01596856
Message ID:
01596863
Vues:
45
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform