Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 31 May 2000 @ 22:21:42 GMT


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


Subj:   Re: Loading Packed data to A Date column
 
From:   David Roth

Gloria,

If you wish to retain high order zeroes, you will either need to create the column as char(5) in your target table and translate from the decimal(5) to char(5) in the insert

or

define the field as decimal(7) and use an ETL routine to apply the century digits to the year to get 2000007 or 2000121. (? can you use a CASE statement in a FASTLOAD? <--Long day)


Dave



     
  <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