Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 03 Nov 2005 @ 13:34:09 GMT


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


Subj:   Re: Convert Decimal into Varchar without a trailing dot
 
From:   Micheletto, David

Try:

     sel trim(trailing '.' from (trim( cast(12345. as char(16)))));

David L. Micheletto
Senior Instructor
Teradata Certified Master
Teradata, a division of NCR



     
  <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