Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 01 Jun 2004 @ 22:00:03 GMT


     
  <Prev Next>   <<First <Prev Next> Last>>  


Subj:   Re: Exclusion Joins
 
From:   Christie, Jon

NOT EXISTS is much better than NOT IN when there are multiple terms. With NOT IN, multiple terms, and nullable columns, you get very strange explains with verbage about skipping steps. Basically, the amps decide at execution time which of too similar plans to use. There's a reason for this that actually does make sense, but it's a rather long story.

The equivalent NOT EXISTS, though less intuitive to read, suffers from none of these problems.


Jon



     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023