Comment by beachy
4 hours ago
I have the same memories from many years of working with stored procedures - although you should certainly have been using source control.
But nothing quite matches the satisfaction of someone in a far off engineering group reporting a problem that prevented them from committing data that would have corrupted the database - because your referential integrity constraints protected the database.
In the age of AI and a massive explosion of code touching the database, maybe it makes even more sense to embed logic and constraints inside the database where there's no way to get around them.
No comments yet
Contribute on Hacker News ↗