willya@lemmyf.uk to Programmer Humor@lemmy.mlEnglish · 1 year agoWhoopsthumbsnap.comimagemessage-square105fedilinkarrow-up11.3Karrow-down117
arrow-up11.28Karrow-down1imageWhoopsthumbsnap.comwillya@lemmyf.uk to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square105fedilink
minus-squareerogenouswarzone@lemmy.mllinkfedilinkEnglisharrow-up16·1 year agoYou 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.
minus-squarethemusicman@lemmy.worldlinkfedilinkarrow-up6·1 year agoAlways start every command with EXPLAIN and don’t remove it until you’ve run it
minus-squarebitflag@lemmy.worldlinkfedilinkarrow-up2·1 year agoI learned the same lesson the same way 😞
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.
Always start every command with EXPLAIN and don’t remove it until you’ve run it
I learned the same lesson the same way 😞