Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 30 Jul 2003 @ 17:25:05 GMT


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


Subj:   Create Table -> date default
 
From:   Jim Halverson

We have a DDL for our database layout. Currently we have a column definition as follows.

activity_dt DATE NOT NULL FORMAT 'mm/dd/yyyy' DEFAULT -18989899,

The programmer has insured us that the default would be 01/01/0001. But it is not, the Unix timestamp above gives a date in the 1969's.

What is the syntax to define 01/01/0001 as the default date?

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: 15 Jun 2023