Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 05 May 2004 @ 18:46:44 GMT


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


Subj:   Re: Compressing a date column
 
From:   Dieter Noeth

Craig E Cooper wrote:

  I can not seem to get the syntax correct for this compression. I tried:  


     LOAD_DATE DATE FORMAT 'yyyy/mm/dd'
     COMPRESS('2004/02/05','2004/02/10','2004/02/12','2004/02/11','2004/03/09
     '),

  And the same thing without the slashes and neither work. Is DATE compressible?  


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', ...

Dieter



     
  <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: 23 Jun 2019