Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 05 May 2004 @ 21:44:24 GMT


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


Subj:   Re: Compressing a date column
 
From:   Anomy Anom

<-- Anonymously Posted: Wednesday, May 05, 2004 17:38 -->

  You must specify ANSI dates regardless of the Format:  


     LOAD_DATE DATE FORMAT 'yyyy/mm/dd'
     COMPRESS(date '2004-02-05', date '2004-02-10', ...

Or you could use integer date values (at least with V2R5.1.0):

     LOAD_DATE DATE COMPRESS (1040131,1040229,1040331,...)


     
  <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