![]()  |  
 
 
 | 
Archives of the TeradataForumMessage Posted: Fri, 16 Sep 2005 @ 13:40:35 GMT
 
 How about some thing like this: 
     SELECT
     C1
     ,C2
     ,C3
     FROM TABLEA
     MINUS
     SELECT
     C1
     ,C2
     ,C3
     FROM TABLEB
     ;
I am assuming there is no Null on your fields... If there are, you can use COALESCE to handle them. Hope this helps! Mohommod 
  | ||||||||||||||||||||||||||||||||||||||||||||||||
|   | ||||||||||||||||||||||||||||||||||||||||||||||||
 
  | ||||||||||||||||||||||||||||||||||||||||||||||||
|  
 | ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||