Using SQL2k5 and assuming the [ID] columns are the clustered PK and the [FK...] columns have a nonclustered index, of the two queries, which WHERE clause is more efficient?
SELECT *
FROM [table1]
INNER JOIN [table2] ON [table2].[ID] = [table1].[FK_table2]
INNER JOIN [table3] ON [table3].[ID] = [table1].[FK_table3]
WHERE
[table1].[FK_table2] = @table2_id
AND [table1].[FK_table3] = @table3_id
OR
SELECT *
FROM [table1]
INNER JOIN [table2] ON [table2].[ID] = [table1].[FK_table2]
INNER JOIN [table3] ON [table3].[ID] = [table1].[FK_table3]
WHERE
[table2].[ID] = @table2_id
AND [table3].[ID] = @table3_id
Is one preferable or better than the other? Will the performance difference be noticeable using one over the other?