Does SQL Server automatically discard unnecessary joins? -


if submit query sql server 2005 contains number of left join clauses table joined never referenced, joins still happen or sql server intelligent enough discard them?

obviously wouldn't able discard inner joins [false assumption! see answers] potentially change result, can left joins?

a left join potentially multiply result set if there many matches.

so therefore still evaluated.


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -