Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 25 Aug 2004 @ 14:32:27 GMT


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


Subj:   Re: Overflow error and time(0)
 
From:   Victor Sokovin

  Thanks, That worked. But casting timestamp(6) to char(26) and then casting it to time(0) is taking extra 3 mintues. Is there any reason?. I have 101 million records in the table.  



Such conversions always cost extra CPU time. Perhaps you could save some time by casting to char(19). In my example current_timestamp was also with 6 decimals and the code worked. You might need to check whether the rounding works as you expect.


Victor



     
  <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