|
Archives of the TeradataForumMessage Posted: Thu, 01 Aug 2002 @ 13:35:15 GMT
Hi, Personally I have always found NOT EXISTS processing to be slow and have tended to make use of LEFT OUTER JOINS. Therefore your query would look something like SELECT colA FROM small_table T1 LEFT OUTER JOIN big_table T2 ON (T1.colA = T2.colA) WHERE T2.colA IS NULL GROUP BY 1 Regards Matthew Winter Technical Architect
| ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||