Archives of the TeradataForum
Message Posted: Thu, 18 Feb 2010 @ 14:51:02 GMT
| 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;-)