Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 15 Feb 2005 @ 18:47:31 GMT


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


Subj:   Guidelines for using IN vs. EXISTS
 
From:   Anomy Anom

<-- Anonymously Posted: Tuesday, February 15, 2005 13:38 -->

All,

To extend the recent distinct vs. group by discussion, are there any guidelines for when to use "IN / NOT IN" vs. "EXIST / NOT EXISTS" from a performance stand point, assuming only non-nullable columns are involved? I am hoping there is something better than the trial and error method.

As usual, thanks for the tremendous help from this list.



     
  <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: 27 Dec 2016