Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Find rows with inv_dates
Message
De
02/05/2017 19:58:17
John Baird
Coatesville, Pennsylvanie, États-Unis
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
01650725
Message ID:
01650809
Vues:
82
>>>
>>>This is a bad query as it doesn't use index on the dropDate if it exists.
>>>
>>
>>Naomi, instead of saying "this is a bad query", why don't you ask him to show the execution plan and then you can explain specifically why it won't perform optimally.
>
>Actually, I like Aaron's Bertrand blog on this topic which is old but good:
>
w>http://sqlblog.com/blogs/aaron_bertrand/archive/2009/10/16/bad-habits-to-kick-mishandling-date-range-queries.aspx

Why did you not answer Kevin's question?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform