Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 06 Sep 2011 @ 14:02:14 GMT


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


Subj:   Re: Need performance help with update
 
From:   Geoffrey Rommel

Yes, the way in which the IP addresses are stored is important. If they're character strings, BETWEEN may not give the results you want. For instance:

'192.168.10.10' < '192.168.10.20' < '192.168.10.30' -- In this case, the middle value is between the other two, whether numeric or character.

'192.168.10.1' < '192.168.10.45' < '192.168.10.9' -- In this case, the middle value is NOT between the other two numerically but is between them if all three are character strings.



     
  <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