Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 31 Oct 2002 @ 16:03:43 GMT


     
  <Prev Next>   <<First <Prev
Next>
Last>>
 


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



     
  <Prev Next>   <<First <Prev
Next>
Last>>
 
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023