Home Page for the TeradataForum
 
https:

Archives of the TeradataForum

Message Posted: Fri, 20 Apr 2007 @ 16:05:24 GMT


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


Subj:   Re: SQL Functions in MLOAD Script..
 
From:   Prescott, Kyle R

Simply compare the column value to be not equal to spaces. TRIM removes leading and trailing spaces if not specifically directed (i.e. TRIM(LEADING FROM f_col1) or TRIM(TRAILING FROM f_col1) ).

If the f_col1 value contains all spaces, the TRIM function would remove the values to a null length string.


Kyle Prescott



     
  <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: 28 Jun 2020