willya@lemmyf.uk to Programmer Humor@lemmy.mlEnglish · 1 year agoWhoopsthumbsnap.comimagemessage-square80fedilinkarrow-up11.32Karrow-down116
arrow-up11.3Karrow-down1imageWhoopsthumbsnap.comwillya@lemmyf.uk to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square80fedilink
minus-squareerogenouswarzone@lemmy.mllinkfedilinkEnglisharrow-up17·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 😞