Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 25 Feb 2011 @ 15:46:09 GMT


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


Subj:   Re: Decimal display problem
 
From:   de Wet, Johannes

Attila - try the following. The precision is determined by the precision of the numeric values prior to the CAST.

     select
     cast( (3995852 * 100.000 / 12274677) as Decimal(6,3) ) as Data_Pct

Johannes de Wet
Unum



     
  <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