Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 02 Jul 2004 @ 12:59:56 GMT


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


Subj:   Re: Aiii, INTERVALs!
 
From:   Geoffrey Rommel

  Yes, it's too much effort.  


Agreed! :-)


  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.  


Hmm. A point in time is quite different from an interval, so I'm not sure how this would be possible. I suppose you could compute the number of nominal seconds from some arbitrary starting-point (e.g., 1600-01-01 00:00:00). Also, as you are probably aware, intervals that cross the month/day boundary are undefined because months are of different lengths. Or am I missing something?



     
  <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: 27 Dec 2016