Where Clause Versus Inner Join Statement Checks, Are They The Same?
Possible Duplicate: Condition within JOIN or WHERE Are the below 2 queries the same? SELECT u.* FROM User u INNER JOIN Sales s ON (u.userId = s.userId) WHERE u.active = 1 AN
Solution 1:
The SQL Server Query Optimizer is smart enough to understand that this will do the same, so he will generate the same execution plan. That means you will get the same performance. To make it sure you can look at the Execution plan and compare them.
Check out Execution Plan Basics
Post a Comment for "Where Clause Versus Inner Join Statement Checks, Are They The Same?"