Re:Mistakes Beginners Make When Working with Databases
by mercer on Wednesday June 08, 2016 @02:16PM
(#11864307)
Isn't the timestamp pretty much the most likely thing to be unique in the data, generally?
[ Parent
| on HN ]
Re:Mistakes Beginners Make When Working with Databases
by dllthomas on Wednesday June 08, 2016 @02:38PM
(#11864481)
Including timestamp may be appropriate for log data, where otherwise identical records differing by time should be considered different entities. Otherwise it loses the property asked for upthread that our primary key detects/eliminates duplication.