We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ported from CodePlex
The following query should be better optimized. The filter should have been pulled out and LSJ should have been removed.
SELECT * FROM [Order Details] od WHERE NOT EXISTS ( SELECT MAX(o.OrderDate) FROM Orders o WHERE o.OrderID = od.OrderID ) OR od.OrderID > 100
The problem is that that decorrelation is done before NullScanOptimization so that the decorrelation cannot pull out the filter.
NullScanOptimization
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Ported from CodePlex
The following query should be better optimized. The filter should have been pulled out and LSJ should have been removed.
The problem is that that decorrelation is done before
NullScanOptimization
so that the decorrelation cannot pull out the filter.The text was updated successfully, but these errors were encountered: