Archives of the TeradataForum
Message Posted: Thu, 31 Oct 2002 @ 16:03:43 GMT
Subj: | | Re: Compare null with integer |
|
From: | | Kevin Lynch |
Note:
This will only work and should only be used if it is impossible to have an acct_type of zero. If zero is part of the acceptable range of
values for acct_type, then you could match a NULL acct_type to a valid acct_type using this method.
If zero is part of the range of acceptable values, then use a CASE statement or COALESCE and substitute a new value that is not part of
the acceptable range of values in place of a NULL on either side of the join.
Kevin Lynch
|