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

Programmer Humor

32601 readers
312 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 😞