Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 07 Jul 2009 @ 12:56:25 GMT


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


Subj:   Re: 7453: interval field overflow.
 
From:   Ragavendran Srinivasanmanikandan

Hi,

The INTERVAL precision maximum is 4.

In case if date is earlier than 2008 (number of hours > 9999) then need to go for DAY

For example:

     SEL
        CAST(CURRENT_TIMESTAMP AS TIMESTAMP(6)
                FORMAT 'YYYY/MM/DDBHH:MI:SS.S(6)') -
        CAST('2007-07-01 01:03:00.00' AS TIMESTAMP(2)
                FORMAT 'YYYY/MM/DDBHH:MI:SS.S(2)') DAY(4) TO SECOND(6) AS TIME_1

Thanks,

Ragavendran



     
  <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