Archives of the TeradataForum
Message Posted: Thu, 18 Feb 2010 @ 14:52:33 GMT
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
|