Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 19 Oct 2010 @ 09:02:00 GMT


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


Subj:   Re: Defaulting TIMEZONE value while Creating/loading
 
From:   Gupta, Vipin

Hi Madhu,

Actual format of timestamp with time zone literal is:

     2010-10-19 03:54:33.180000+00:00  <<<<< observe no space (only +) between seconds and time zone

Change your DDLs as follows:

     create table t1 (record_end_dtm TIMESTAMP(6) with TIME ZONE FORMAT 'YYYY-MM-
     DDBHH:MI:SS.S(6)BZ ' NOT NULL DEFAULT Timestamp '9999-12-31 11:59:00.000000+06:00' );
     create table DW_STAGING.t1(record_end_dtm TIMESTAMP(6) with TIME ZONE FORMAT 'YYYY-MM-
     DDBHH:MI:SS.S(6)BZ' NOT NULL DEFAULT Timestamp '9999-12-31 11:59:00.000000+00:00' );

-Vipin



     
  <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