Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 23 Jul 2008 @ 13:01:11 GMT


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


Subj:   Re: How to Achieve the decimal part
 
From:   Rob Paller

The Months_Between function calculates the fraction month based on a 31 day month. ( www.techonthenet.com/oracle/functions/months_between.php )

Wouldn't it be more accurate to calculate the difference by dividing the date difference by 30.4375, the result of dividing 365.25 by 12?



     
  <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