Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why table scan?
Message
De
20/02/2008 12:07:50
Walter Meester
HoogkarspelPays-Bas
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
Versions des environnements
SQL Server:
SQL Server 2000
Divers
Thread ID:
01293823
Message ID:
01294317
Vues:
30
>>How would you explain the fact I got 2 Index seeks with your test code and my addition of populating tables?
>>
>>>No, no matter if PRIMARY KEY index is CLUSTERED or not in both cases I have INDEX SEEK.
>>>Thanks again Walter.
>
>I can't. :-)
>I even can not explain why my friend has INDEX SEEK directly w/o running any code to populate data.

Boris,

Is there a performance problem or is it you just want to understand? SQL's cost based optimizer is complex and takes many things into account. Unless you're experiencing performance problems I would not worry too much about it.

Walter,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform