Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 18 Feb 2010 @ 14:52:33 GMT


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


Subj:   Re: Data Type for a large table
 
From:   Dempsey, Mike

From a space perspective it makes no difference. Integer and Decimal(8) or Decimal(9) all take 4 bytes.

Integer math is faster so I would recommend Integer over Decimal if the values will allways be integers.

On the other hand, if you think the values may need to increase to 9 digits at some point in the future you might want to go with Decimal(9) instead.


Mike Dempsey
Teradata Client Tools



     
  <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: 23 Jun 2019