|  |  | Archives of the TeradataForumMessage Posted: Tue, 15 Feb 2005 @ 18:47:31 GMT
 
 
  
| 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. 
 
 |  |