|
Archives of the TeradataForumMessage Posted: Fri, 25 Aug 2006 @ 16:33:11 GMT
<-- Anonymously Posted: Friday, August 25, 2006 11:26 --> Did anyone check to see if the join columns contain null values? Null values can not be compare so they would drop out in join condition. Some SQL writer will mistakenly use outer join to make up for this problem when they could just add another statement in their join condition to retain the data even if the column is null. You can check to see whether or how many null values you have in the column with the following: Sel count(*) >From You can retain the null values in the column with the following: Sel * >From If that is really what you want. Hope this helps.
| ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||