Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Sun, 20 Aug 2006 @ 10:15:46 GMT


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


Subj:   Re: Teradata trailing spaces truncation in strings
 
From:   de Wet, Johannes

If you find nothing else working, something that you may be able to consider is 'forcing' the retention of the spaces with using something like this in the place of YourColumn when converting the data..

     SUBSTR(YourColumn,1,INDEX(YourColumn||'#$#', '#$#'))

Johannes de Wet
UnumProvident Corportaion



     
  <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