Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Mon, 05 May 2008 @ 21:45:53 GMT


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


Subj:   Change in casting to Interval
 
From:   Anomy Anom

<-- Anonymously Posted: Mon, 05 May 2008 16:16 -->

Greetings,

I�m trying to find some documentation as to why casting the date difference as an interval year(4) no longer works as it had previously.

I think that we had recently changed to VERSION 06.02.02.26 RELEASE V2R.06.02.02.25.

This used to return 7 and after the change it returns 8.

     Select ((1080505(date)) - (1000704(date))) year(4);

This was really useful to determining the age in years, it�s not anymore.

I�ve come up with a case statement to do what I need, but I would still like to know why it changed.


Best Regards



     
  <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