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 Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023