Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WHERE IN approach
Message
De
28/02/2017 12:21:56
 
 
À
28/02/2017 10:51:37
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2014
OS:
Windows 8.1
Network:
Windows Server 2012
Divers
Thread ID:
01648591
Message ID:
01648625
Vues:
27
>Quite possibly, yes.
>
>One thing...on % cost for the execution operators....those are estimates and not exact values.
>
>You might want to look at Time and IO statistics.
>
>If you do this...
>
>SET STATISTICS IO ON
>SET STATISTICS TIME ON
>
>And then run the query, in the messages area you'll get some good numbers to measure.
>
>Any evaluation of execution operator cost %s should also be followed by an evaluation of the actual IO and time statistics.

Thanks, this is good to know. For now, the hardcoding sequence of the WHERE clause works fine and highly performing. But, knowing EXISTS could be considered is good to know.
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform