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

Programmer Humor

32050 readers
1418 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
[–] [email protected] 17 points 10 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.

[–] [email protected] 6 points 10 months ago

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

[–] [email protected] 2 points 10 months ago

I learned the same lesson the same way 😞