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

Programmer Humor

32479 readers
235 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] erogenouswarzone@lemmy.ml 17 points 1 year 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 1 year ago

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

[–] bitflag@lemmy.world 2 points 1 year ago

I learned the same lesson the same way 😞