Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Mon, 05 May 2003 @ 14:58:57 GMT


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


Subj:   Compression of Date Field
 
From:   Anomy Anom

<-- Anonymously Posted: Monday, May 05, 2003 10:09 -->

Hi,

I'm trying to Compress a field "END_DT" having value "0001-01-01" and getting an error message "3707:SYNTAX ERROR, EXPECTED SOMETHING LIKE A 'CHECK' KEYWORD ..."

The DDL for the field is

CREATE SET TABLE tab1 ,NO FALLBACK ,
NO BEFORE JOURNAL,
NO AFTER JOURNAL
(
DEPT_ID DECIMAL(15,0) NOT NULL,
END_DT DATE FORMAT 'yyyy-mm-dd' COMPRESS 0001-01-01
)
PRIMARY INDEX ( DEPT_ID );

Please let me know what I'm missing or it is bug.

Thanks



     
  <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: 27 Dec 2016