Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2004
    Posts
    35

    Unanswered: Inner Join performance

    May sound stupid, but I need some advise. Will there be any performance difference between
    select colx from tab1 inner join tab2 on tab2.col = tab1.col
    and
    select colx from tab1 inner join tab2 on tab1.col = tab2.col

    I couldn't find any reference on this, but I see the second one used everywhere.
    Thanks

  2. #2
    Join Date
    Nov 2002
    Location
    Jersey
    Posts
    10,322
    Place the 2 in QA and do a showplan...they should be the same


    Indexes, order of predicates, table size, will have more to do with performance....
    Brett
    8-)

    It's a Great Day for America everybody!

    dbforums Yak CorralRadio 'Rita
    dbForums Member List
    I'm Good Once as I ever was

    The physical order of data in a database has no meaning.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •