Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 13 Sep 2013 @ 09:55:17 GMT


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


Subj:   Re: Problems With Default Value For Timestamp
 
From:   Dave Wellman

Hi,

You need the word TIMESTAMP in front of the literal, as in

     create table edw2.t1
     (record_end_dtm TIMESTAMP(6) FORMAT 'YYYY-MM-DDBHH:MI:SS.S(6)'
     NOT NULL DEFAULT  TIMESTAMP '2011-12-31 11:59:00.000000' )

Cheers,

Dave

Ward Analytics Ltd - Information in motion (www.ward-analytics.com)



     
  <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