Stop using Integer ID’s in your Database

Tom Jay
3 min readMay 22, 2023
Bad Integer ID Schema

I’ve seen this over and over for the last 30 years, people let the database set the ID or Primary Key of a table from the database, at first glance this sounds simple and everyone knows you should let the database do the heavy lifting, with a numeric “Sequence” number you need to let the database do the work since there may be multiple applications or threads creating new records in the table. DON”T DO IT!

--

--

Tom Jay

I'm a Startup Developer and Professional Trainer. Checkout my Fast and Simple Development channels, they can be found on Udemy /tomjay2 and YouTube