Home Page for the TeradataForum
 
 

 

Archives of the TeradataForum





Message Posted: Fri, 24 May 2002 @ 04:44:19 GMT





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




Subj:   Re: Format statement and floating point numbers
 
From:   Mat Ginman



Hi,

the trivial solution is to add the string '00' in front:

SELECT
'00' || cast((sth_employee_id (FLOAT,FORMAT'9(18)')) as char(18))
FROM aeo_devlworkdb.flat_tlog
WHERE sth_employee_nbr is not null ;

Mats





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