Skip to main content

All Questions

Tagged with
2 votes
1 answer
345 views

Sorting rows off an autoincrementing primary key

Is it a bad practice to rely on an auto-incrementing primary key to sort rows in a table? A coworker and I were having an argument about this subject. We need to be able to find the last-inserted row ...
Apropos's user avatar
  • 121