Home Page for the TeradataForum

Archives of the TeradataForum

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

  <Prev Next>  
Next> Last>>  

Subj:   Change in casting to Interval
From:   Anomy Anom

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


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 RELEASE V2R.

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>  
Next> Last>>  
  Top Home Privacy Feedback  
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 28 Jun 2020