Atomic Shrimp
Humanoid lifeform
- Local time
- Today, 06:34
- Joined
- Jun 16, 2000
- Messages
- 1,954
I dunno - maybe I'm just getting old, but I just don't trust anyone (not meaning you, Doc Man - I mean the users who want DBs constructed) any more when they specify a meaningful key, with the assurance that it's writ in stone and will never change.
They're just wrong, most of the time (in my experience) - and the potential inconvenience of changing them in an established system far outweighs the cost of the extra storage space for a meaningless PK.
I take your point and agree with you that there probably are meaningful keys that will never change, but I'm not sure we can ever reliably identify them except in hindsight. Even things like your example of state codes could change (it's just quite unlikely).
About the only thing I can think of that I'd be happy to accept as a meaningful PK would be Atomic Numbers from the periodic table of elements (and even then, I'd still harbour a nagging doubt about the decision).
They're just wrong, most of the time (in my experience) - and the potential inconvenience of changing them in an established system far outweighs the cost of the extra storage space for a meaningless PK.
I take your point and agree with you that there probably are meaningful keys that will never change, but I'm not sure we can ever reliably identify them except in hindsight. Even things like your example of state codes could change (it's just quite unlikely).
About the only thing I can think of that I'd be happy to accept as a meaningful PK would be Atomic Numbers from the periodic table of elements (and even then, I'd still harbour a nagging doubt about the decision).