Home Page for the TeradataForum
 
 

 

Archives of the TeradataForum





Message Posted: Wed, 20 Dec 2006 @ 17:25:28 GMT





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




Subj:   Re: Additional zeroes in teradata
 
From:   Anomy Anom



<-- Anonymously Posted: Wednesday, December 20, 2006 10:56 -->

If you insist on that format, try

     select
     trim(leading ' ' from
      trim(trailing '.' from
       trim(trailing '0' from
        cast(SUM(COALESCE(SALARY,0)) AS DECIMAL(13,2))
       )
      )
     ) ...




     
  <Prev Next>   <<First <Prev
Next>
Last>>
 
 
 
 
 
 
 
 
 
  
 
  Top Home Join Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky 
Last Modified: 30 Jun 2008