Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL / Index / Rushmore
Message
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Divers
Thread ID:
01327603
Message ID:
01327605
Vues:
9
This message has been marked as the solution to the initial question of the thread.
Use SSMS to run your query and activate the "execution plan". It will tell you which index are used (if any). The SQL engine is automatically using indexes when the query optimizer determines that it will be helpful.

See http://www.emoreau.com/Entries/Blogs/2008/05/Everything-you-want-to-know-about-Microsoft-SQL-Execution-plans.aspx


>Does Microsoft's SQL 2005 use Rushmore technology?
>
>If I have two indexes on two different fields in a table and perform a SELECT query on those two fields, will the server use the indexes automatically (in an optimized / fast search) or will it perform like the LOCATE command without rushmore, and search through the entire database on the server?
>
>Do I have to be explicit with the index usage when performing a query or is it all taken care of by the server provided I have the indexes in place?
>
>Thank you in advance.
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform