Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 10 Dec 2003 @ 14:21:48 GMT


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


Subj:   Re: SQL Standard for the "%" wildcard on the LIKE predicate.
 
From:   Victor Sokovin

  Workaround it to use TRIM to get rid of any 'padding' shoved on the end of your string to pad it up to a CHAR(10).  



Why do you say 'padding'? Genuine right-padding with spaces always takes place with the fixed-length CHAR(n) data types, also in R4. That's a part of the data type definition, not a bug. The extra spaces are really stored on the disk and cost you one byte each.


Regards,

Victor



     
  <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