Archives of the TeradataForum
Message Posted: Thu, 13 Mar 2003 @ 12:02:12 GMT
| Subj: || || Surrogate Key data types |
| From: || || Jim Downey |
I currently have a model with different datatypes for two surrogate key uses. Lookup tables have a UPI that is a Smallint. Larger data
tables have a UPI that is Decimal(18,0).
There seems to be some conventional wisdom that stipulates you should not use Byteint as a UPI (or anywhere for that matter). It seems
to me that for lookup tables with low cardinality, (Male/Female) a byteint would be sufficient. Are there still reasons you should not use