Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 07 Jul 2009 @ 10:46:39 GMT


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


Subj:   Re: 7453: interval field overflow.
 
From:   Alves, Patrick

Hello,

you need to specify number of digits for hour (here 4).

try

     SEL
     CAST(CURRENT_DATE AS TIMESTAMP(2)) -
     CAST('2009-07-01 00:00:00.00' AS TIMESTAMP(2)
             FORMAT 'YYYY/MM/DDBHH:MI:SS.S(2)') HOUR(4) TO SECOND(2)

Regards.

Patrick ALVES
PS TERADATA France



     
  <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