willya@lemmyf.uk to Programmer Humor@lemmy.mlEnglish · 1 year agoWhoopsthumbsnap.comimagemessage-square72fedilinkarrow-up11.15Karrow-down114
arrow-up11.14Karrow-down1imageWhoopsthumbsnap.comwillya@lemmyf.uk to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square72fedilink
minus-squareerogenouswarzone@lemmy.mllinkfedilinkEnglisharrow-up6·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-up5·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 😞