Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 21 Dec 2010 @ 13:14:14 GMT


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


Subj:   How to pad zeros a decimal field.
 
From:   Mani,vijay

Hi ,

Is it possible to pad zeros to a variable and store it with zeroes in decimal field of tables.

For example

Consider the table1 having field tot_amount as decimal(5,0). The fields should have values like 00012,00123 etc


Regards,

Vijay



     
  <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