Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Natural Keys
Message
From
02/03/2015 09:21:48
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
To
02/03/2015 08:46:39
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Microsoft SQL Server
Category:
Database design
Title:
Environment versions
SQL Server:
SQL Server 2012
Application:
Web
Miscellaneous
Thread ID:
01616073
Message ID:
01616077
Views:
47
>>Here at my job we have a database modeler in our group. He is insistent that all tables use 'Natural Keys' and not surrogate keys. I am not trying to start a battle or anything, but is this really even still a debate? It does not matter how much logical reason I provide him, he is propagating his plan across the company and it does not seem to matter what the impact will be. This is a global company in 140 countries with data centers all over the world.
>>
>>My only questions is: Has something changed and I missed it? We are talking about values that users see and will want to change being used as primary keys on the tables.
>
>What changed is the retirement age. I guess this guy missed the window and now has to do extra time...
>
>I'd OK what he says, but would lay the responsibility on him for all the trouble. First, he should ensure the behavior of these keys - to be unique, immutable, protected etc.
>
>Publicly visible keys are OK in many cases - you got barcodes and various abbreviations on at least half the items within a meter from yourself - but making them primary and/or editable is a recipe for trouble.

Yup, he needs to retire if not willing to update his ideas. In addition he has shortened all the table and column names to remove most but not all vowels. I struggle to know what some of these mean and certainly cannot craft a query without looking directly at a table/ column definition. I am pretty sure the days of 10.3 limitations ended a few years back. Plus they are all in CAPS. Argh!
Timothy Bryan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform