3 ms·
Not sure about that. Some folks would argue you should always use surrogate keys. I probably wouldn't for country_code specifically, but for most things its us
by hdjrudni 1y ago
Not sure about that. Some folks would argue you should always use surrogate keys.
I probably wouldn't for country_code specifically, but for most things its useful even when you have a 'natural' key.
- rixed 1y agoIt can be useful in some cases but can also be a hindrance. First because identifiers are more useful when they allow to actualy identify the thing; and also because now they can change from instance to instance, from customer to customer etc...