Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

What is best datatype for surrogate key - topic by vikramachandran

$
0
0
I am working on a project where there is a need to increase the storage available for surrogate key to accomodate for more keys due to business growth. Currently its defined as integer and proposed solution is to change data type of the  field to decimal(18,0). I feel  biginteger would be ideal rather decimal. Semantically, surrogate keys are generated synthetic numbers and why would decimal be recommended. What would be the perfomance implications and how are the data types represented internally by the system?. Please advise. Thanks

read more


Viewing all articles
Browse latest Browse all 27759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>