Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 03 Nov 2005 @ 11:12:04 GMT


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


Subj:   Convert Decimal into Varchar without a trailing dot
 
From:   Xu, Feng

Hi All,

I am populating a column by converting decimal(16, 0) into varchar(18) as below.

     trim(col1 (int))

A boring trailing dot will appear if I simply use trim(col1).

The issue is that some of the 'col1' values go beyond the Teradata max integer limit. So I cann't discard the trailling dot by this way.

Has anyone faced this issue before? Any resolutions are welcome.


Thanks in advance,

Stephen



     
  <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