Results 1 to 2 of 2

Thread: Outer Join vs. NOT EXISTS

  1. #1
    Join Date
    Nov 2004
    Posts
    66

    Outer Join vs. NOT EXISTS

    Which provides better performance? Using a outer join where column is null or NOT EXISTS.

    This is to retrieve records in a table where it exists in one table but not the other.

  2. #2
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    NOT EXISTS will be faster as OUTER JOIN needs to scan both tables and discard not matching records.

Posting Permissions

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