Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A different approach for optimization
Message
De
28/02/2014 16:23:18
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Web
Divers
Thread ID:
01595558
Message ID:
01595571
Vues:
25
>The bit column has very low selectivity (only 2 cases for not nullable columns). So, having this as a parameter will not help. Also, if we always looking for success = 1 it may help to have filtered index with that criterion.

Ok, I'll verify for direct assignation to the boolean. As far as the conditions, they are variables as this is a generic method which handles a variety of select commands.
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