Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Fri, 02 Jul 2004 @ 13:20:42 GMT

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

Subj:   Re: Aiii, INTERVALs!
From:   Victor Sokovin

  Yes, it's too much effort. There should be a seperate Masters exam solely for timestamps and intervals.  

  Anyway, the first does what you want if you cast the DECIMAL(5,1) AS INTERVAL SECOND(4,1), at least on my machine.  

  I guess rounding is difficult to implement with multi-part interval datatypes, where the round-up in the SECONDS part can spill over into the MINUTE/HOUR/DAY parts?  

  I wish they would just implement a full YEAR TO SECOND interval datatype with the ability to directly CAST ( TIMESTAMP AS YEAR TO SECOND ) and vice versa. Oh well ...  

Not to forget fixing the bug in intervals with decimal part. Example here:


This one, in my opinion, should be on the short wish list, too.



  <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