INNER JOIN vs multiple table names in “FROM” [duplicate]

There is no reason to ever use an implicit join (the one with the commas). Yes for inner joins it will return the same results. However, it is subject to inadvertent cross joins especially in complex queries and it is harder for maintenance because the left/right outer join syntax (deprecated in SQL Server, where it doesn’t work correctly right now anyway) differs from vendor to vendor. Since you shouldn’t mix implicit and explict joins in the same query (you can get wrong results), needing to change something to a left join means rewriting the entire query.

Leave a Comment