Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 13 Mar 2003 @ 12:02:12 GMT


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


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 a Byteint?

Jim



     
  <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: 15 Jun 2023