Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 10 Jun 2010 @ 18:19:30 GMT


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


Subj:   2617: NUMERIC OVER FLOW ERROR
 
From:   Baig, Mohammad

Hi All,

Here is my problem the following query don t give numeric over flow error

     sel 82025328
     ,99999999.00
     ,0.9987660000
     , (99999999.00 (decimal(15,2))) /(0.9987660000 (decimal(18,10)))
     (decimal(18,2)) as USD_CONV
     from   group by 1,2,3,4;

But this query gives, why???

     sel 82025328 AS CCCP_KEY
     ,99999999.00 (decimal(15,2)) AS APP_MTHLY_INCM_AM ,0.9987660000 (decimal(18,10)) AS
     USD_RT , (APP_MTHLY_INCM_AM) /(USD_RT) (decimal(18,2)) as USD_CONV
     from    group by 1,2,3,4;

Thanks & Regards

Mohammad Usman Baig



     
  <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