this post was submitted on 06 Nov 2023
1308 points (98.7% liked)

Programmer Humor

31329 readers
670 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 4 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] erogenouswarzone@lemmy.ml 17 points 8 months ago (2 children)

You can also do this by forgetting a WHERE clause. I know this because I ruined a production database in my early years.

Always write your where before your insert, kids.

[–] themusicman@lemmy.world 6 points 8 months ago

Always start every command with EXPLAIN and don't remove it until you've run it

[–] bitflag@lemmy.world 2 points 8 months ago

I learned the same lesson the same way 😞