Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 15 Jan 2015 @ 08:43:52 GMT


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


Subj:   Re: Forcing character string comparision
 
From:   Tolani, Bharat

In case you require to get a match in here by removing trailing or leading space on the length of field.

Following syntax should help. [TRIM removes leading and trailing space from string] CHARACTER_LENGTH(TRIM(col1))= CHARACTER_LENGTH(TRIM(col2)).


-Bharat



     
  <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: 23 Jun 2019