Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 18 Feb 2010 @ 14:51:02 GMT


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


Subj:   Re: Data Type for a large table
 
From:   John_Wight

The maximum value for an INTEGER is 2+ billion - a lot bigger than 8 'digits' - but needs only 4 bytes to store. Then number of bytes for DECIMAL data type of 8 'digits' would be 4 bytes (5-9 digits). So I don't think either would matter as you'd be adding 4 bytes to each row. However. a DECIMAL implies a decimal point for 'display' unless you apply a format to override. As a whole number - I'd probably go for the INTEGER - 6 to one, half a dozen of the other I guess;-)



     
  <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