SQL INNER JOIN question

后端 未结 3 2083
离开以前
离开以前 2020-12-20 23:28

I\'m creating a query that will display information for a record which is derived from 8 tables. The developer who originally wrote the query used a combination of \'where t

3条回答
  •  一个人的身影
    2020-12-20 23:59

    From performance point of view, there will not be any difference... atleast not on prominent RDBMS like Sql-server / Oracle... These Database Engine, are capable of identifying both the patterns means the same and use the same execution plan for both...

    In my humble opinion both are equally good practice, but you should maintain consistency and proper alignment... Somewhere I heard that where clause are generally used by oracle developers, and inner join by Sql-Server... Not very much sure about that... By now most of the coders are capable of understanding both types of queries...

提交回复
热议问题