Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 07 Jul 2009 @ 12:26:04 GMT


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


Subj:   Re: 7453: interval field overflow.
 
From:   Schabek Lukasz

Failed again...

When I'm trying to use date that is earlier than 2008 (number of hours > 9999) I'm getting same error...

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)') HOUR(4) TO SECOND(6) AS TIME_1

When I try to set HOUR(5) it gives me "Invalid INTERVAL precision value" error.

How can I increase precision of HOUR interval?



     
  <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