Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A different approach for optimization
Message
From
28/02/2014 16:23:18
 
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01595558
Message ID:
01595571
Views:
24
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform